summaryrefslogtreecommitdiff
path: root/src/gui/itemamountwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemamountwindow.cpp')
-rw-r--r--src/gui/itemamountwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}