Commit 7cd8e75d authored by David Edmundson's avatar David Edmundson
Browse files

[applets/keyboardlayout] Fix config hookup

By using the automagic kcfg system we have the apply button work
correctly.
parent c11af6b4
...@@ -4,10 +4,10 @@ import QtQuick.Layouts 1.12 ...@@ -4,10 +4,10 @@ import QtQuick.Layouts 1.12
import org.kde.kirigami 2.5 as Kirigami import org.kde.kirigami 2.5 as Kirigami
Kirigami.FormLayout { Kirigami.FormLayout {
property alias cfg_showFlag: showFlagCheckBox.checked
CheckBox { CheckBox {
checked: plasmoid.configuration.showFlag id: showFlagCheckBox
onCheckedChanged: plasmoid.configuration.showFlag = checked
text: i18n("Show flag") text: i18n("Show flag")
} }
} }
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