From ce5d6a6607f9b561cd80dc7d9e3bddd856eb3660 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 5 Jan 2018 11:38:05 +0200 Subject: [PATCH] change advance mode with click on the label --- .../contents/configuration/LatteDockConfiguration.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shell/package/contents/configuration/LatteDockConfiguration.qml b/shell/package/contents/configuration/LatteDockConfiguration.qml index d77cc63d8..761bc3eba 100644 --- a/shell/package/contents/configuration/LatteDockConfiguration.qml +++ b/shell/package/contents/configuration/LatteDockConfiguration.qml @@ -239,6 +239,14 @@ FocusScope { text: i18n("Advanced") Layout.alignment: Qt.AlignRight opacity: plasmoid.configuration.advanced ? 1 : 0.3 + + MouseArea { + anchors.fill: parent + onClicked: { + plasmoid.configuration.advanced = !advancedSwitch.checked; + advancedSwitch.checked = plasmoid.configuration.advanced; + } + } } Switch {