forked from qt-creator/qt-creator
Fix wrong state of Run/Run All buttons
Introduced with fa28f1cb30
Change-Id: I80f5e08bcf2b630fcf7a4a77d47db6e7b7d26e50
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user