resize date column
This commit is contained in:
parent
b0423e5e6a
commit
4cd0b42072
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ void MainWindow::onPaidButtonTriggered()
|
|||
if (marketplace_->basketSize() > 0) {
|
||||
QString lastPrice{marketplace_->getBasketSumAsString().c_str()};
|
||||
dynamic_cast<BasketModel*>(ui_.basketView->model())->finishSale();
|
||||
ui_.salesView->resizeColumnToContents(0);
|
||||
ui_.lastPriceLabel1->setText(lastPrice);
|
||||
ui_.lastPriceLabel2->setText(lastPrice);
|
||||
ui_.basketSumLabel->setText(formatCentAsEuroString(0).c_str());
|
||||
|
|
Loading…
Reference in a new issue