summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 1844ab39c..ea53ee48a 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -144,7 +144,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory):
setMinHeight(179);
addKeyListener(this);
- mItems = new ItemContainer(mInventory);
+ mItems = new ItemContainer(this, mInventory);
mItems->addSelectionListener(this);
gcn::ScrollArea *const invenScroll = new ScrollArea(