From 49965a6282c0f8273ba30ddc48d877334c39bd2a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 16:13:40 +0300 Subject: move virtual member calls from listbox constuctor into postInit. --- src/gui/windows/selldialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/windows/selldialog.cpp') 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"); -- cgit v1.2.3-60-g2f50