diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-20 22:47:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-20 22:47:09 +0300 |
commit | 219ca3560cf16a3c303b9d88756448a9a2fb19a5 (patch) | |
tree | bf726003c48ba5ca03c86760eea97922790165c6 /src/gui/widgets/widget.h | |
parent | a2f54815d3310c3b5dab0f06b1b06510c8aa0620 (diff) | |
download | plus-219ca3560cf16a3c303b9d88756448a9a2fb19a5.tar.gz plus-219ca3560cf16a3c303b9d88756448a9a2fb19a5.tar.bz2 plus-219ca3560cf16a3c303b9d88756448a9a2fb19a5.tar.xz plus-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.h | 2 |
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) |