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 ba4180914..1844ab39c 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -110,7 +110,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory):
mFilter(nullptr),
mSortModel(new SortListModel()),
mSortDropDown(new DropDown(this, mSortModel, this, "sort")),
- mNameFilter(new TextField("", true, this, "namefilter", true)),
+ mNameFilter(new TextField(this, "", true, this, "namefilter", true)),
mSortDropDownCell(nullptr),
mNameFilterCell(nullptr),
mFilterCell(nullptr),