VCS: Update state when configuration is changed

Change-Id: I6b3f924a5802521540e53aabc6905355f17f74d8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-06-13 21:28:12 +03:00
committed by Orgad Shaneh
parent f696b8d9ac
commit d524f37ca0

View File

@@ -208,6 +208,8 @@ StateListener::StateListener(QObject *parent) :
this, SLOT(slotStateChanged()));
connect(Core::ICore::vcsManager(), SIGNAL(repositoryChanged(QString)),
this, SLOT(slotStateChanged()));
connect(Core::ICore::vcsManager(), SIGNAL(configurationChanged(QString)),
this, SLOT(slotStateChanged()));
if (ProjectExplorer::ProjectExplorerPlugin *pe = ProjectExplorer::ProjectExplorerPlugin::instance())
connect(pe, SIGNAL(currentProjectChanged(ProjectExplorer::Project*)),