summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 16:13:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit49965a6282c0f8273ba30ddc48d877334c39bd2a (patch)
treebb65a6d5394dda9d87a6694876b18fb586427184 /src/gui/windows/buydialog.cpp
parent0e316e6ce75b3dca91a824b050410804441f593e (diff)
downloadplus-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.gz
plus-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.bz2
plus-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.xz
plus-49965a6282c0f8273ba30ddc48d877334c39bd2a.zip
move virtual member calls from listbox constuctor into postInit.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r--src/gui/windows/buydialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index b7e49ab3f..dcd94be81 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -239,6 +239,7 @@ void BuyDialog::init()
mShopItems = new ShopItems;
mShopItemList = new ShopListBox(this, mShopItems, mShopItems);
+ mShopItemList->postInit();
mScrollArea = new ScrollArea(mShopItemList,
getOptionBool("showbackground"), "buy_background.xml");
mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);