forked from qt-creator/qt-creator
AutoTest: Fix handling of empty tests
If an item of type MessageCaseStart is going to be updated it might end up in still getting no icon if none of its children is enforcing a change. Change-Id: I7ec6d114c547189a02744f064d4c04cdf31a03d7 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -141,7 +141,7 @@ void TestResultItem::updateResult(bool &changed, Result::Type addedChildType)
|
||||
? Result::MessageTestCaseSuccess : old;
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
break;
|
||||
}
|
||||
changed = old != newResult;
|
||||
if (changed)
|
||||
|
Reference in New Issue
Block a user