diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index fa17dd1..c79a776 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -333,6 +333,7 @@ void MainWindow::onCancelArticleButtonClicked([[maybe_unused]] bool checked) } ui_.basketSumLabel->setText(marketplace_->getBasketSumAsString().c_str()); // Update basket sum + ui_.sellerNoEdit->setFocus(); } void MainWindow::onCancelSaleButtonClicked([[maybe_unused]] bool checked) @@ -405,6 +406,7 @@ void MainWindow::onCancelAllArticlesButtonClicked([[maybe_unused]] bool checked) dynamic_cast(ui_.basketView->model())->cancelSale(); ui_.basketSumLabel->setText(marketplace_->getBasketSumAsString().c_str()); // Update basket sum + ui_.sellerNoEdit->setFocus(); } void MainWindow::onAboutQt() { QMessageBox::aboutQt(this); }