diff --git a/plugins/autotest/testresultspane.cpp b/plugins/autotest/testresultspane.cpp index c2a2b5851f66c480d1d10d5c1fba22792f3a9786..3d9e874bdf54cf0bb855cef57202b488dfcde777 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 {