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/itemamountwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/itemamountwindow.cpp') diff --git a/src/gui/itemamountwindow.cpp b/src/gui/itemamountwindow.cpp index 299006e6f..4e6e80f88 100644 --- a/src/gui/itemamountwindow.cpp +++ b/src/gui/itemamountwindow.cpp @@ -198,7 +198,7 @@ ItemAmountWindow::ItemAmountWindow(const Usage usage, Window *const parent, if (mUsage == ShopBuyAdd) { mItemsModal = new ItemsModal; - mItemDropDown = new DropDown(mItemsModal); + mItemDropDown = new DropDown(this, mItemsModal); mItemDropDown->setActionEventId("itemType"); mItemDropDown->addActionListener(this); } -- cgit v1.2.3-60-g2f50