summaryrefslogtreecommitdiff
path: root/src/gui/models/shopitems.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-22 20:07:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-22 20:07:17 +0300
commit226f98e12755b50cafe17d65a4c0aafd3994cd05 (patch)
tree621bdfc67747e76c3fe7fb68137e1211e01bb4d8 /src/gui/models/shopitems.h
parentde4548a50ecb4d4700c9899044f50070f7d9a95a (diff)
downloadmanaplus-226f98e12755b50cafe17d65a4c0aafd3994cd05.tar.gz
manaplus-226f98e12755b50cafe17d65a4c0aafd3994cd05.tar.bz2
manaplus-226f98e12755b50cafe17d65a4c0aafd3994cd05.tar.xz
manaplus-226f98e12755b50cafe17d65a4c0aafd3994cd05.zip
Show duplicates in egg selection dialog.
Diffstat (limited to 'src/gui/models/shopitems.h')
-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