mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Extend a bit the skeleton 'removes' on cylinder and weigth to help dirk.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
0b30c821ae
commit
8cfb2aa237
1 changed files with 4 additions and 0 deletions
|
@ -184,7 +184,9 @@ void CylindersModel::remove(const QModelIndex& index)
|
|||
if (index.column() != REMOVE){
|
||||
return;
|
||||
}
|
||||
beginRemoveRows(QModelIndex(), index.row(), index.row()); // yah, know, ugly.
|
||||
// Remove code should be here.
|
||||
endRemoveRows();
|
||||
}
|
||||
|
||||
void WeightModel::remove(const QModelIndex& index)
|
||||
|
@ -192,7 +194,9 @@ void WeightModel::remove(const QModelIndex& index)
|
|||
if (index.column() != REMOVE){
|
||||
return;
|
||||
}
|
||||
beginRemoveRows(QModelIndex(), index.row(), index.row()); // yah, know, ugly.
|
||||
// Remove code should be here.
|
||||
endRemoveRows();
|
||||
}
|
||||
|
||||
void WeightModel::clear()
|
||||
|
|
Loading…
Reference in a new issue