diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-21 00:53:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-21 00:53:11 +0300 |
commit | b10b9bbf68702e7c2b728d4036391399ae397eaa (patch) | |
tree | e9ead826ac5244f6abec780214bc8d9844c23adc /src/gui/widgets | |
parent | 219ca3560cf16a3c303b9d88756448a9a2fb19a5 (diff) | |
download | plus-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.gz plus-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.bz2 plus-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.xz plus-b10b9bbf68702e7c2b728d4036391399ae397eaa.zip |
Set parts of most windows unselectable.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/setuptab.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setuptabscroll.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setuptab.cpp b/src/gui/widgets/tabs/setuptab.cpp index 6ece24f46..8e8c6652d 100644 --- a/src/gui/widgets/tabs/setuptab.cpp +++ b/src/gui/widgets/tabs/setuptab.cpp @@ -32,6 +32,7 @@ SetupTab::SetupTab(const Widget2 *const widget) : { setOpaque(Opaque_false); addWidgetListener(this); + setSelectable(false); } void SetupTab::externalUpdated() diff --git a/src/gui/widgets/tabs/setuptabscroll.cpp b/src/gui/widgets/tabs/setuptabscroll.cpp index 277009182..d16154c9c 100644 --- a/src/gui/widgets/tabs/setuptabscroll.cpp +++ b/src/gui/widgets/tabs/setuptabscroll.cpp @@ -38,6 +38,8 @@ SetupTabScroll::SetupTabScroll(const Widget2 *const widget) : { mScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); mScroll->setVerticalScrollPolicy(ScrollArea::SHOW_AUTO); + mScroll->setSelectable(false); + mContainer->setSelectable(false); } SetupTabScroll::~SetupTabScroll() |