summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-20 22:47:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-20 22:47:09 +0300
commit219ca3560cf16a3c303b9d88756448a9a2fb19a5 (patch)
treebf726003c48ba5ca03c86760eea97922790165c6 /src/gui/widgets/widget.h
parenta2f54815d3310c3b5dab0f06b1b06510c8aa0620 (diff)
downloadmanaverse-219ca3560cf16a3c303b9d88756448a9a2fb19a5.tar.gz
manaverse-219ca3560cf16a3c303b9d88756448a9a2fb19a5.tar.bz2
manaverse-219ca3560cf16a3c303b9d88756448a9a2fb19a5.tar.xz
manaverse-219ca3560cf16a3c303b9d88756448a9a2fb19a5.zip
Set scrollarea unselectable only if no scroll bars showed.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 4cae7369e..cbeb68874 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -1023,7 +1023,7 @@ class Widget notfinal : public Widget2
void setRedraw(const bool b) noexcept2
{ mRedraw = b; }
- bool isSelectable() const noexcept2 A_WARN_UNUSED
+ virtual bool isSelectable() const A_WARN_UNUSED
{ return mSelectable; }
void setSelectable(const bool selectable)