fixed ReportModel::RemoveRows view updates

test
Marc Zinnschlag 10 years ago
parent 932f1f9fbd
commit 2ef8103cc7

@ -120,7 +120,14 @@ bool CSMTools::ReportModel::removeRows (int row, int count, const QModelIndex& p
if (parent.isValid())
return false;
mRows.erase (mRows.begin()+row, mRows.begin()+row+count);
if (count>0)
{
beginRemoveRows (parent, row, row+count-1);
mRows.erase (mRows.begin()+row, mRows.begin()+row+count);
endRemoveRows();
}
return true;
}

Loading…
Cancel
Save