From d59cd9111c1e86b224ea62cc975c49b157e2b3cf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 23:56:04 +0300 Subject: Add to some controls palette inheritance from other controls. --- src/gui/shopwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/shopwindow.cpp') diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index 6f332730e..e61437716 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -78,8 +78,8 @@ ShopWindow::ShopWindow(): mCloseButton(new Button(_("Close"), "close", this)), mBuyShopItems(new ShopItems), mSellShopItems(new ShopItems), - mBuyShopItemList(new ShopListBox(mBuyShopItems, mBuyShopItems)), - mSellShopItemList(new ShopListBox(mSellShopItems, mSellShopItems)), + mBuyShopItemList(new ShopListBox(this, mBuyShopItems, mBuyShopItems)), + mSellShopItemList(new ShopListBox(this, mSellShopItems, mSellShopItems)), mBuyScrollArea(new ScrollArea(mBuyShopItemList, getOptionBool("showbuybackground"), "shop_buy_background.xml")), mSellScrollArea(new ScrollArea(mSellShopItemList, -- cgit v1.2.3-60-g2f50