summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-21 00:53:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-21 00:53:11 +0300
commitb10b9bbf68702e7c2b728d4036391399ae397eaa (patch)
treee9ead826ac5244f6abec780214bc8d9844c23adc /src/gui/widgets/tabs
parent219ca3560cf16a3c303b9d88756448a9a2fb19a5 (diff)
downloadmv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.gz
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.bz2
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.xz
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.zip
Set parts of most windows unselectable.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setuptab.cpp1
-rw-r--r--src/gui/widgets/tabs/setuptabscroll.cpp2
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()