Skip to content
Snippets Groups Projects
Commit bf45a1ac authored by d.kilic's avatar d.kilic
Browse files

Merge branch '411-clear-ing-empty-test-tab' into 'master'

Resolve "Clear'ing empty test tab"

Closes #411

See merge request !296
parents eb9ee91f a58c90c0
No related branches found
No related tags found
1 merge request!296Resolve "Clear'ing empty test tab"
Pipeline #105901 passed
...@@ -130,6 +130,10 @@ void FailedChecksTableModel::setFailedChecks(std::vector<plausibility::FailedChe ...@@ -130,6 +130,10 @@ void FailedChecksTableModel::setFailedChecks(std::vector<plausibility::FailedChe
bool FailedChecksTableModel::removeRows(int row, int count, const QModelIndex &parent) bool FailedChecksTableModel::removeRows(int row, int count, const QModelIndex &parent)
{ {
if(count == 0)
{
return true;
}
beginRemoveRows(parent, row, row + count - 1); beginRemoveRows(parent, row, row + count - 1);
for(int i = 0; i < count; ++i) for(int i = 0; i < count; ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment