summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/attrs/attrdisplay.cpp1
-rw-r--r--src/gui/widgets/statspage.cpp3
-rw-r--r--src/gui/widgets/statspagebasic.cpp3
3 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/attrs/attrdisplay.cpp b/src/gui/widgets/attrs/attrdisplay.cpp
index 8efadfcf0..2eaa0c7c4 100644
--- a/src/gui/widgets/attrs/attrdisplay.cpp
+++ b/src/gui/widgets/attrs/attrdisplay.cpp
@@ -45,6 +45,7 @@ AttrDisplay::AttrDisplay(const Widget2 *const widget,
{
setSize(100, 32);
+ setSelectable(false);
mLabel->setAlignment(Graphics::CENTER);
mValue->setAlignment(Graphics::CENTER);
}
diff --git a/src/gui/widgets/statspage.cpp b/src/gui/widgets/statspage.cpp
index 556240d17..56a4df855 100644
--- a/src/gui/widgets/statspage.cpp
+++ b/src/gui/widgets/statspage.cpp
@@ -40,9 +40,12 @@ StatsPage::StatsPage(const Widget2 *const widget,
mAttrScroll(new ScrollArea(this, mAttrCont, Opaque_false))
{
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::getStats(page);
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();