summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.cpp
diff options
context:
space:
mode:
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");