diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-05 14:41:50 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-05 14:41:50 +0800 |
commit | 5d36cbe8062af072958c37bb9c71b1e158074d3a (patch) | |
tree | d796538ede55de08d17c0c10b48c98a352138a70 | |
parent | 5f25bd6a8166258aa361b66d17cc7161d624a1ea (diff) |
updated signal is emitted only when the catalog *is* updated
-rw-r--r-- | catalog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog.cxx b/catalog.cxx index 709d20d..03a90a1 100644 --- a/catalog.cxx +++ b/catalog.cxx @@ -55,8 +55,8 @@ namespace ICClient { for (size_t i = 0; i < catalog->length; i++) addProduct(Product{catalog->products[i]}); icclient_catalog_free(catalog); + emit updated(); } - emit updated(); } } |