Now we can decide to make only-delete-changes in the db
This commit is contained in:
parent
de95d5f341
commit
33f24ab7be
5 changed files with 8 additions and 8 deletions
|
@ -149,7 +149,7 @@ bool SellerModel::removeRows(int row, int count, const QModelIndex& parent)
|
|||
} else {
|
||||
emit beginRemoveRows(parent, row, row + count - 1);
|
||||
seller->setState(Seller::State::DELETE);
|
||||
marketplace_->storeToDb();
|
||||
marketplace_->storeToDb(true);
|
||||
emit endRemoveRows();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue