summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/shopitems.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/models/shopitems.h b/src/gui/models/shopitems.h
index 925354960..5e8fb2b97 100644
--- a/src/gui/models/shopitems.h
+++ b/src/gui/models/shopitems.h
@@ -121,6 +121,9 @@ class ShopItems final : public ListModel
std::vector<ShopItem*> &items() A_WARN_UNUSED
{ return mShopItems; }
+ void setMergeDuplicates(const bool b)
+ { mMergeDuplicates = b; }
+
private:
/**
* Searches the current items in the shop for the specified