Fixed #5662 (GUI - Save results missing some entries)
Use empty parent index as we test top level items.
This commit is contained in:
parent
b10110b5ac
commit
c0191b25ac
|
@ -903,7 +903,7 @@ void ResultsTree::SaveResults(Report *report) const
|
|||
|
||||
for (int i = 0; i < mModel.rowCount(); i++) {
|
||||
QStandardItem *item = mModel.item(i, 0);
|
||||
if (!isRowHidden(i, item->index()))
|
||||
if (!isRowHidden(i, QModelIndex()))
|
||||
SaveErrors(report, item);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue