Commit 2a22b96d authored by Nicolas Fella's avatar Nicolas Fella Committed by Nate Graham
Browse files

[kcm] Only enable revert action when revert sheet is open

Otherwise we trigger a revert when trying to close the window via Esc, which will crash

BUG: 449931

(cherry picked from commit cae29223)
parent c5384cb5
Pipeline #136486 passed with stage
in 3 minutes and 31 seconds
......@@ -143,6 +143,7 @@ KCM.SimpleKCM { "edit-undo"
text: i18n("&Revert")
shortcut: "Escape"
enabled: confirmMsg.sheetOpen
onTriggered: {
Supports Markdown
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