diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-21 00:53:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-21 00:53:11 +0300 |
commit | b10b9bbf68702e7c2b728d4036391399ae397eaa (patch) | |
tree | e9ead826ac5244f6abec780214bc8d9844c23adc /src/gui/windows/equipmentwindow.cpp | |
parent | 219ca3560cf16a3c303b9d88756448a9a2fb19a5 (diff) | |
download | ManaVerse-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.cpp | 2 |
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"); |