show message in status bar

This commit is contained in:
Martin Brodbeck 2018-07-26 08:59:54 +02:00
parent 9041d34357
commit 9f30bad90b
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ void MainWindow::on_paidButton_triggered()
dynamic_cast<BasketModel*>(ui_.basketView->model())->finishSale();
ui_.lastPriceLabel1->setText(lastPrice);
ui_.lastPriceLabel2->setText(lastPrice);
statusBar()->showMessage("Verkaufsvorgang erfolgreich durchgeführt.", STATUSBAR_TIMEOUT);
}
}