forked from qt-creator/qt-creator
AutoTest: Fix expansion of results
When using "Expand All" before running tests we may miss the results due to filtering that has not been applied correctly. Fixes: QTCREATORBUG-25877 Change-Id: Ibe6af43ff28e31c7acfd78ba3ec1daf9db620b56 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -250,6 +250,7 @@ void TestResultsPane::addTestResult(const TestResultPtr &result)
|
||||
m_atEnd = scrollBar ? scrollBar->value() == scrollBar->maximum() : true;
|
||||
|
||||
m_model->addTestResult(result, m_expandCollapse->isChecked());
|
||||
m_filterModel->invalidate();
|
||||
setIconBadgeNumber(m_model->resultTypeCount(ResultType::Fail)
|
||||
+ m_model->resultTypeCount(ResultType::MessageFatal)
|
||||
+ m_model->resultTypeCount(ResultType::UnexpectedPass));
|
||||
|
||||
Reference in New Issue
Block a user