mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 09:48:50 +00:00
kcms/wifi: port kirigami action
This commit is contained in:
parent
f47ba93952
commit
8f4beb219f
1 changed files with 10 additions and 8 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue