Now we can decide to make only-delete-changes in the db

This commit is contained in:
Martin Brodbeck 2018-07-18 14:36:53 +02:00
parent de95d5f341
commit 33f24ab7be
5 changed files with 8 additions and 8 deletions

View file

@ -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();
}