mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 06:14:45 +00:00
Add cancel button to the Logout dialog
In the Logout popup dialog, a cancel button enables the users to cancel the logout process.
This commit is contained in:
parent
5fa0e7a041
commit
27c39abe0e
1 changed files with 8 additions and 0 deletions
|
|
@ -101,6 +101,14 @@ PlasmaCore.ColorScope {
|
||||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Restart")
|
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Restart")
|
||||||
onClicked: root.rebootRequested()
|
onClicked: root.rebootRequested()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Controls.Button {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
display: Controls.Button.TextUnderIcon
|
||||||
|
icon.name: "dialog-cancel"
|
||||||
|
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Cancel")
|
||||||
|
onClicked: root.cancelRequested()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue