From f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 01:45:57 +0300 Subject: Add palette inheritance to textfield class. --- src/gui/inventorywindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/inventorywindow.cpp') 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), -- cgit v1.2.3-70-g09d2