GUI: keep hidden results

This commit is contained in:
Daniel Marjamäki 2019-08-22 21:32:18 +02:00
parent 56bd9b742f
commit c7b452c4f6
1 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ bool ResultsTree::addErrorItem(const ErrorItem &item)
realfile = tr("Undefined file");
}
bool hide = !mShowSeverities.isShown(item.severity);
bool hide = false;
// Ids that are temporarily hidden..
if (mHiddenMessageId.contains(item.errorId))
@ -228,7 +228,7 @@ bool ResultsTree::addErrorItem(const ErrorItem &item)
// Partially refresh the tree: Unhide file item if necessary
if (!hide) {
setRowHidden(fileItem->row(), QModelIndex(), false);
setRowHidden(fileItem->row(), QModelIndex(), !mShowSeverities.isShown(item.severity));
}
return true;
}