From ffae1fcb24de9f39e860bd289b2f3b443e940c45 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 15 Aug 2013 21:21:02 +0300 Subject: [PATCH] VCS: Always set window title when repository is changed Change-Id: I74be65ab4bdec45b3a9679dfd86c112b38358cd6 Reviewed-by: Petar Perisin --- src/plugins/vcsbase/vcsbaseplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index 653c4e8726e..a7133007dfb 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;