summaryrefslogtreecommitdiff
path: root/src/plugins/analyzerbase/analyzermanager.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-09-25 10:35:42 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-09-25 10:35:42 +0200
commit0ba4781bfc0a23d6f2b7f597274c2bbc62c48c1a (patch)
tree3cbff9325fba3b802360ccc8aaf1cac813e50172 /src/plugins/analyzerbase/analyzermanager.cpp
parenta5952658b240e1d2761b943ed7514e4589b986fe (diff)
parentf229f0dbe51be6a8b0c4fb0a1948bde935f7b423 (diff)
downloadqt-creator-0ba4781bfc0a23d6f2b7f597274c2bbc62c48c1a.tar.gz
Merge remote-tracking branch 'origin/3.5'
Change-Id: I889b93611d1762121548fb71d1d3493e4adba313
Diffstat (limited to 'src/plugins/analyzerbase/analyzermanager.cpp')
-rw-r--r--src/plugins/analyzerbase/analyzermanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/analyzerbase/analyzermanager.cpp b/src/plugins/analyzerbase/analyzermanager.cpp
index 32434c2356..47d01234f5 100644
--- a/src/plugins/analyzerbase/analyzermanager.cpp
+++ b/src/plugins/analyzerbase/analyzermanager.cpp
@@ -432,7 +432,7 @@ void AnalyzerManagerPrivate::modeChanged(IMode *mode)
{
if (mode && mode == m_mode) {
m_mainWindow->setDockActionsVisible(true);
- static bool firstTime = true;
+ static bool firstTime = !m_currentAction;
if (firstTime)
selectSavedTool();
firstTime = false;