Commit 21afdf22 authored by Christian Stenger's avatar Christian Stenger

Fix wrong state of Run/Run All buttons

Introduced with fa28f1cb

Change-Id: I80f5e08bcf2b630fcf7a4a77d47db6e7b7d26e50
Reviewed-by: 's avatarRobert Loehning <robert.loehning@theqtcompany.com>
parent 36824fe4
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment