aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-05-29 11:30:23 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-05-29 14:43:43 +0300
commit21afdf227aeec4a5d4cfe8d32588cce25d0e4cf5 (patch)
treec78e3113b3448a1c0c6a017a98aa42be470bf69e
parent36824fe498b74c9379689fb35be609b60b1edb2a (diff)
Fix wrong state of Run/Run All buttonsat-v3.4.1
Introduced with fa28f1cb303d79ff3feb1416ef0637785dade8fc Change-Id: I80f5e08bcf2b630fcf7a4a77d47db6e7b7d26e50 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
-rw-r--r--plugins/autotest/testresultspane.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/autotest/testresultspane.cpp b/plugins/autotest/testresultspane.cpp
index c2a2b5851f..3d9e874bdf 100644
--- a/plugins/autotest/testresultspane.cpp
+++ b/plugins/autotest/testresultspane.cpp
@@ -190,6 +190,8 @@ void TestResultsPane::visibilityChanged(bool visible)
return;
connect(TestTreeModel::instance(), &TestTreeModel::testTreeModelChanged,
this, &TestResultsPane::onTestTreeModelChanged);
+ // make sure run/run all are in correct state
+ onTestTreeModelChanged();
m_wasVisibleBefore = true;
TestTreeModel::instance()->enableParsing();
} else {