Commit 1eefc871 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

visual log now updates (again) when purchases are canceled

parent 299dc85b
...@@ -276,6 +276,9 @@ void Widget::on_cancelBuyButton_clicked() ...@@ -276,6 +276,9 @@ void Widget::on_cancelBuyButton_clicked()
} }
open_till(); open_till();
requery_transactionLog();
requery_totalLog();
} }
void Widget::on_cancelBigBuyButton_clicked() void Widget::on_cancelBigBuyButton_clicked()
...@@ -295,6 +298,9 @@ void Widget::on_cancelBigBuyButton_clicked() ...@@ -295,6 +298,9 @@ void Widget::on_cancelBigBuyButton_clicked()
ui->cancelBigBuyButton->setEnabled(false); ui->cancelBigBuyButton->setEnabled(false);
requery_bigBuy(true); requery_bigBuy(true);
requery_transactionLog();
requery_totalLog();
} }
// === requery === // === requery ===
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment