Commit 43cee102 authored by Yari Polla's avatar Yari Polla Committed by Jan Blackquill
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.
parent 22b382b0
Pipeline #136617 passed with stage
in 8 minutes and 20 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