summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:45:57 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commitf5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 (patch)
tree8ab383dce47ed689137addbac041ef1f9e300faf /src/gui/inventorywindow.cpp
parent5d02ab43ff6d3e328a3b02479c033609023edec2 (diff)
downloadplus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.gz
plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.bz2
plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.xz
plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.zip
Add palette inheritance to textfield class.
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),