sorting sellers

This commit is contained in:
Martin Brodbeck 2018-07-18 09:00:46 +02:00
parent f5ba2f6014
commit de95d5f341
5 changed files with 17 additions and 1 deletions

View file

@ -22,6 +22,7 @@ void MainWindow::on_actionEditSeller_triggered()
auto dialog = std::make_unique<SellerDialog>(this);
int retCode = dialog->exec();
if (retCode == QDialog::Accepted) {
marketplace_->sortSellers();
marketplace_->storeToDb();
statusBar()->showMessage("Änderungen an den Verkäufer-Stammdaten gespeichert.",
STATUSBAR_TIMEOUT);