summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.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/equipmentwindow.cpp
parent219ca3560cf16a3c303b9d88756448a9a2fb19a5 (diff)
downloadManaVerse-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.gz
ManaVerse-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.bz2
ManaVerse-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.xz
ManaVerse-b10b9bbf68702e7c2b728d4036391399ae397eaa.zip
Set parts of most windows unselectable.
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r--src/gui/windows/equipmentwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index 5a2ce6103..a0dd8b550 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -100,6 +100,7 @@ EquipmentWindow::EquipmentWindow(Equipment *const equipment,
mTabs = new TabStrip(this, "equipment", size);
mTabs->addActionListener(this);
mTabs->setActionEventId("tab_");
+ mTabs->setSelectable(false);
mYPadding = mTabs->getHeight() + getOption("tabPadding", 2);
@@ -112,6 +113,7 @@ EquipmentWindow::EquipmentWindow(Equipment *const equipment,
// Control that shows the Player
mPlayerBox->setDimension(Rect(50, 80 + mYPadding, 74, 168));
mPlayerBox->setPlayer(being);
+ mPlayerBox->setSelectable(false);
if (foring)
setWindowName("Being equipment");