Commit ffae1fcb authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

VCS: Always set window title when repository is changed

Change-Id: I74be65ab4bdec45b3a9679dfd86c112b38358cd6
Reviewed-by: default avatarPetar Perisin <petar.perisin@gmail.com>
parent 6a87d8d3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment