summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-15 19:37:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-15 19:37:39 +0300
commit413637151f0eb471ff6b28feddc028c374f96401 (patch)
tree82658c6d0e159bd34f23a8aaaa38ef11242346a4 /src/gui/windows/buydialog.cpp
parentc08b18e37eee7edce70dcc1aaba2afd2b968d330 (diff)
downloadmv-413637151f0eb471ff6b28feddc028c374f96401.tar.gz
mv-413637151f0eb471ff6b28feddc028c374f96401.tar.bz2
mv-413637151f0eb471ff6b28feddc028c374f96401.tar.xz
mv-413637151f0eb471ff6b28feddc028c374f96401.zip
Add type into ShopListBox.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r--src/gui/windows/buydialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index 7ae527e63..f2e5cc46d 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -274,7 +274,8 @@ void BuyDialog::init()
mShopItems = new ShopItems;
- CREATEWIDGETV(mShopItemList, ShopListBox, this, mShopItems, mShopItems);
+ CREATEWIDGETV(mShopItemList, ShopListBox, this,
+ mShopItems, mShopItems, ShopListBoxType::Unknown);
mScrollArea = new ScrollArea(this, mShopItemList,
getOptionBool("showbackground"), "buy_background.xml");
mScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);