diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-15 19:37:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-15 19:37:39 +0300 |
commit | 413637151f0eb471ff6b28feddc028c374f96401 (patch) | |
tree | 82658c6d0e159bd34f23a8aaaa38ef11242346a4 /src/gui/windows/buydialog.cpp | |
parent | c08b18e37eee7edce70dcc1aaba2afd2b968d330 (diff) | |
download | manaplus-413637151f0eb471ff6b28feddc028c374f96401.tar.gz manaplus-413637151f0eb471ff6b28feddc028c374f96401.tar.bz2 manaplus-413637151f0eb471ff6b28feddc028c374f96401.tar.xz manaplus-413637151f0eb471ff6b28feddc028c374f96401.zip |
Add type into ShopListBox.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 3 |
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); |