Commit bc9acf70 authored by Yari's avatar Yari Committed by Nate Graham
Browse files

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 43cee102)
parent b1577e10
Pipeline #143590 failed with stage
in 6 minutes and 18 seconds
......@@ -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
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment