From d524f37ca04a321afd4ea2aabeb7816931ccd812 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 13 Jun 2013 21:28:12 +0300 Subject: [PATCH] VCS: Update state when configuration is changed Change-Id: I6b3f924a5802521540e53aabc6905355f17f74d8 Reviewed-by: Tobias Hunger --- src/plugins/vcsbase/vcsbaseplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index 73a8eb019b9..45d1e16527f 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.cpp +++ b/src/plugins/vcsbase/vcsbaseplugin.cpp @@ -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*)),