summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-21 00:53:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-21 00:53:11 +0300
commitb10b9bbf68702e7c2b728d4036391399ae397eaa (patch)
treee9ead826ac5244f6abec780214bc8d9844c23adc /src/gui/windows/inventorywindow.cpp
parent219ca3560cf16a3c303b9d88756448a9a2fb19a5 (diff)
downloadmv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.gz
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.bz2
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.xz
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.zip
Set parts of most windows unselectable.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 4f855e442..8ab12f6a8 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -180,6 +180,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
mFilter = new TabStrip(this, "filter_" + getWindowName(), size + 16);
mFilter->addActionListener(this);
mFilter->setActionEventId("tag_");
+ mFilter->setSelectable(false);
StringVect tags = ItemDB::getTags();
const size_t sz = tags.size();