From 7fd52f1ba393d47cff22d42346845752b5d4b8ee Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Sun, 23 Dec 2018 14:16:22 +0200 Subject: [PATCH] [kcmkwin/desktop] Disable the OSD duration spinbox if the corresponding checkbox is unchecked Summary: In the old version of the KCM, one could change value of the spinbox only if "Desktop Switch On-Screen Display" is checked. Test Plan: Before: {F6503161} After: {F6503163} Reviewers: #kwin, #vdg, graesslin Reviewed By: #kwin, graesslin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D17754 --- kcmkwin/kwindesktop/package/contents/ui/main.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kcmkwin/kwindesktop/package/contents/ui/main.qml b/kcmkwin/kwindesktop/package/contents/ui/main.qml index f41478ffe7..d99e0fc759 100644 --- a/kcmkwin/kwindesktop/package/contents/ui/main.qml +++ b/kcmkwin/kwindesktop/package/contents/ui/main.qml @@ -216,6 +216,8 @@ ScrollViewKCM { QtControls.SpinBox { id: osdDuration + enabled: osdEnabled.checked + from: 0 to: 10000 stepSize: 100