Commit 27c39abe authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Add cancel button to the Logout dialog

In the Logout popup dialog, a cancel button enables the users to cancel
the logout process.
parent 5fa0e7a0
......@@ -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()
}
}
}
}
......
Markdown is supported
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