diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-03 20:09:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-03 20:09:53 +0300 |
commit | 602fd127d09c995bc5470218c862b2cebfc558d5 (patch) | |
tree | 6937760eb81a234c2aaf9c7494f6bce02176a2f5 /src/shopitem.cpp | |
parent | fef6ebca9c454f99d44e950c4628270b124c445f (diff) | |
download | manaplus-602fd127d09c995bc5470218c862b2cebfc558d5.tar.gz manaplus-602fd127d09c995bc5470218c862b2cebfc558d5.tar.bz2 manaplus-602fd127d09c995bc5470218c862b2cebfc558d5.tar.xz manaplus-602fd127d09c995bc5470218c862b2cebfc558d5.zip |
Add filter into buy dialogs.
Diffstat (limited to 'src/shopitem.cpp')
-rw-r--r-- | src/shopitem.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shopitem.cpp b/src/shopitem.cpp index 2b9923eb7..3fa7c6480 100644 --- a/src/shopitem.cpp +++ b/src/shopitem.cpp @@ -47,7 +47,8 @@ ShopItem::ShopItem(const int inventoryIndex, mDisplayName(), mDuplicates(), mPrice(price), - mShowQuantity(true) + mShowQuantity(true), + mVisible(true) { updateDisplayName(quantity); setInvIndex(inventoryIndex); @@ -67,7 +68,8 @@ ShopItem::ShopItem(const int id, mDisplayName(), mDuplicates(), mPrice(price), - mShowQuantity(false) + mShowQuantity(false), + mVisible(true) { updateDisplayName(0); setInvIndex(-1); |