summaryrefslogtreecommitdiff
path: root/src/gui/widgets/statspagebasic.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-20 19:10:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-20 19:10:44 +0300
commita2f54815d3310c3b5dab0f06b1b06510c8aa0620 (patch)
tree26d629c15d851b79eae1441e2da0d8a224be4792 /src/gui/widgets/statspagebasic.cpp
parent775d6f983a18457b82747ac6c53123f84629ede5 (diff)
downloadplus-a2f54815d3310c3b5dab0f06b1b06510c8aa0620.tar.gz
plus-a2f54815d3310c3b5dab0f06b1b06510c8aa0620.tar.bz2
plus-a2f54815d3310c3b5dab0f06b1b06510c8aa0620.tar.xz
plus-a2f54815d3310c3b5dab0f06b1b06510c8aa0620.zip
Set unselectable most parts of status window.
Diffstat (limited to 'src/gui/widgets/statspagebasic.cpp')
-rw-r--r--src/gui/widgets/statspagebasic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/statspagebasic.cpp b/src/gui/widgets/statspagebasic.cpp
index 7885f6d90..96db773e3 100644
--- a/src/gui/widgets/statspagebasic.cpp
+++ b/src/gui/widgets/statspagebasic.cpp
@@ -45,9 +45,12 @@ StatsPageBasic::StatsPageBasic(const Widget2 *const widget) :
mCharacterPointsLabel(new Label(this, "C"))
{
addWidgetListener(this);
+ setSelectable(false);
mAttrScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
mAttrScroll->setVerticalScrollPolicy(ScrollArea::SHOW_AUTO);
+ mAttrScroll->setSelectable(false);
+ mAttrCont->setSelectable(false);
add(mAttrScroll);
const std::vector<BasicStat> &basicStats = StatDb::getBasicStats();