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/scrollarea.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/scrollarea.h')
-rw-r--r-- | src/gui/widgets/scrollarea.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h index 4392f4bcf..351814b79 100644 --- a/src/gui/widgets/scrollarea.h +++ b/src/gui/widgets/scrollarea.h @@ -432,6 +432,8 @@ class ScrollArea final : public BasicContainer, void mouseWheelMovedDown(MouseEvent& event) override final; + bool isSelectable() const override final; + protected: enum BUTTON_DIR { |