summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.cxx b/client.cxx
index 5ca3ce6..0d3316d 100644
--- a/client.cxx
+++ b/client.cxx
@@ -47,8 +47,8 @@ namespace ICClient {
void Client::order(QString const& sku, Catalog const& catalog, Basket& order)
{
auto c_order = order.c_order();
- icclient_order(sku.toLatin1().constData(), catalog.c_catalog(),
- &c_order);
+ icclient_order(sku.toLatin1().constData(), catalog.c_catalog(), &c_order);
+ order.update(c_order);
}
void Client::logIn(size_t (*handler)(void*, size_t, size_t, void*)