kcms/wifi: port kirigami action

This commit is contained in:
Yari Polla 2023-03-15 00:02:26 +01:00
parent f47ba93952
commit 8f4beb219f

View file

@ -29,15 +29,17 @@ SimpleKCM {
&& manualIPprefix.acceptableInput && manualIPprefix.acceptableInput
&& manualIPdns.acceptableInput)) && manualIPdns.acceptableInput))
actions.main: Kirigami.Action { actions: [
icon.name: "dialog-ok" Kirigami.Action {
text: i18n("Save") icon.name: "dialog-ok"
enabled: enabledSave text: i18n("Save")
onTriggered: { enabled: enabledSave
save() onTriggered: {
kcm.pop() save()
kcm.pop()
}
} }
} ]
Kirigami.FormLayout { Kirigami.FormLayout {
Item { Item {