diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 16:13:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 49965a6282c0f8273ba30ddc48d877334c39bd2a (patch) | |
tree | bb65a6d5394dda9d87a6694876b18fb586427184 /src/gui/windows/selldialog.cpp | |
parent | 0e316e6ce75b3dca91a824b050410804441f593e (diff) | |
download | manaverse-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.gz manaverse-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.bz2 manaverse-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.xz manaverse-49965a6282c0f8273ba30ddc48d877334c39bd2a.zip |
move virtual member calls from listbox constuctor into postInit.
Diffstat (limited to 'src/gui/windows/selldialog.cpp')
-rw-r--r-- | src/gui/windows/selldialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/selldialog.cpp b/src/gui/windows/selldialog.cpp index a188861f0..5cca9892f 100644 --- a/src/gui/windows/selldialog.cpp +++ b/src/gui/windows/selldialog.cpp @@ -84,6 +84,7 @@ void SellDialog::init() mShopItems = new ShopItems(true); mShopItemList = new ShopListBox(this, mShopItems, mShopItems); + mShopItemList->postInit(); mShopItemList->setProtectItems(true); mScrollArea = new ScrollArea(mShopItemList, getOptionBool("showbackground"), "sell_background.xml"); |