diff --git a/shop/settings/shopsettingsform.ui b/shop/settings/shopsettingsform.ui index 267bd7d..b3ba813 100644 --- a/shop/settings/shopsettingsform.ui +++ b/shop/settings/shopsettingsform.ui @@ -17,7 +17,7 @@ - 2 + 0 diff --git a/shop/shopservice.cpp b/shop/shopservice.cpp index 8af8217..c07425a 100644 --- a/shop/shopservice.cpp +++ b/shop/shopservice.cpp @@ -247,6 +247,11 @@ void ShopService::moveItems(QList items, VoucherPtr source, Vouc { erase(source); } + else + { + calculate(source); + update(source); + } tx.commit(); }