From b10b9bbf68702e7c2b728d4036391399ae397eaa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 Sep 2016 00:53:11 +0300 Subject: Set parts of most windows unselectable. --- src/gui/windows/equipmentwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/windows/equipmentwindow.cpp') 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"); -- cgit v1.2.3-70-g09d2