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:
Dimitris Kardarakos 2020-04-02 15:51:42 +03:00
parent 5fa0e7a041
commit 27c39abe0e

View file

@ -101,6 +101,14 @@ PlasmaCore.ColorScope {
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Restart")
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()
}
}
}
}