update basket sum after deleting all articles
This commit is contained in:
parent
ef88604ad4
commit
127fbc1398
1 changed files with 2 additions and 0 deletions
|
@ -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); }
|
||||
|
|
Loading…
Reference in a new issue