fixed ReportModel::RemoveRows view updates

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

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

Loading…
Cancel
Save