Commit 5c879b25 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Colors KCM] Fix color scheme editor context

Kirigami.Action has no parent

Differential Revision:
parent eaccf58e
......@@ -28,6 +28,7 @@ import org.kde.kconfig 1.0 // for KAuthorized
import org.kde.kcm 1.1 as KCM
KCM.GridViewKCM {
id: root
KCM.ConfigModule.quickHelp: i18n("This module lets you choose the color scheme.")
view.model: kcm.colorsModel
......@@ -176,7 +177,7 @@ KCM.GridViewKCM {
iconName: "document-edit"
tooltip: i18n("Edit Color Scheme...")
enabled: !model.pendingDeletion
onTriggered: kcm.editScheme(model.index, parent)
onTriggered: kcm.editScheme(model.index, root)
Kirigami.Action {
iconName: "edit-delete"
Markdown is supported
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