From 602fd127d09c995bc5470218c862b2cebfc558d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 May 2015 20:09:53 +0300 Subject: Add filter into buy dialogs. --- src/shopitem.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/shopitem.cpp') 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); -- cgit v1.2.3-60-g2f50