[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
icc-effect-5.17.5
Vlad Zagorodniy 2018-12-23 14:16:22 +02:00
parent c7154fc5b9
commit 7fd52f1ba3
1 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,8 @@ ScrollViewKCM {
QtControls.SpinBox {
id: osdDuration
enabled: osdEnabled.checked
from: 0
to: 10000
stepSize: 100