From bc9acf7079bf5af439a802cc238f414188560d4c Mon Sep 17 00:00:00 2001 From: Yari Polla Date: Sat, 12 Feb 2022 23:58:34 +0000 Subject: [PATCH] Use current accent colour to set ColorDialog object in colour picker This commit initialises the state of the accent colour picker using the current accent colour, this way the user can adjust it more precisely. (cherry picked from commit 43cee1029dabb9a003e131447540f0adea3547e8) --- kcms/colors/package/contents/ui/main.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/kcms/colors/package/contents/ui/main.qml b/kcms/colors/package/contents/ui/main.qml index bedef4cae..54db3895a 100644 --- a/kcms/colors/package/contents/ui/main.qml +++ b/kcms/colors/package/contents/ui/main.qml @@ -239,6 +239,7 @@ KCM.GridViewKCM { title: i18n("Choose custom accent color") // User must either choose a colour or cancel the operation before doing something else modality: Qt.ApplicationModal + color: kcm.accentColor onAccepted: { kcm.accentColor = colorDialog.color }