summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basket.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/basket.cxx b/basket.cxx
index a5f9b23..b1c89f8 100644
--- a/basket.cxx
+++ b/basket.cxx
@@ -52,7 +52,11 @@ namespace ICClient {
if (order) {
for (size_t i = 0; i < order->nitems; i++)
addItem(Item{order->items[i]});
+ m_subtotal = order->subtotal;
+ m_totalCost = order->total_cost;
emit updated();
+ emit subtotalChanged();
+ emit totalCostChanged();
}
}