diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-08-15 21:21:02 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-08-16 02:52:30 +0200 |
commit | ffae1fcb24de9f39e860bd289b2f3b443e940c45 (patch) | |
tree | 52d24a8dbf477fd3a3f4b08eba12d318697c4b80 /src/plugins/vcsbase/vcsbaseplugin.cpp | |
parent | 6a87d8d347ced255dbe696cbcd475d7971d59627 (diff) | |
download | qt-creator-ffae1fcb24de9f39e860bd289b2f3b443e940c45.tar.gz |
VCS: Always set window title when repository is changed
Change-Id: I74be65ab4bdec45b3a9679dfd86c112b38358cd6
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseplugin.cpp')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index 653c4e8726..a7133007df 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.cpp +++ b/src/plugins/vcsbase/vcsbaseplugin.cpp @@ -593,8 +593,8 @@ void VcsBasePlugin::slotStateChanged(const VcsBase::Internal::State &newInternal if (!d->m_state.equals(newInternalState)) { d->m_state.setState(newInternalState); updateActions(VcsEnabled); - Core::EditorManager::setWindowTitleVcsTopic(vc->vcsTopic(d->m_state.topLevel())); } + Core::EditorManager::setWindowTitleVcsTopic(vc->vcsTopic(d->m_state.topLevel())); } else { // Some other VCS plugin or state changed: Reset us to empty state. const ActionState newActionState = vc ? OtherVcsEnabled : NoVcsEnabled; |