update basket sum after deleting all articles

This commit is contained in:
Martin Brodbeck 2018-10-09 19:15:34 +02:00
parent ef88604ad4
commit 127fbc1398

View file

@ -400,6 +400,8 @@ void MainWindow::onCancelAllArticlesButtonClicked([[maybe_unused]] bool checked)
return;
dynamic_cast<BasketModel*>(ui_.basketView->model())->cancelSale();
ui_.basketSumLabel->setText(marketplace_->getBasketSumAsString().c_str()); // Update basket sum
}
void MainWindow::onAboutQt() { QMessageBox::aboutQt(this); }