Commit f4355463 authored by Adam Hill's avatar Adam Hill Committed by Nate Graham
Browse files

Add escape key shortcut for window close

parent cbe6c3f2
Pipeline #146551 passed with stage
in 8 minutes and 54 seconds
......@@ -50,6 +50,12 @@ Window {
minimumHeight: elisaTheme.metaDataDialogHeight
minimumWidth: elisaTheme.metaDataDialogWidth
// Close when pressing Esc key
Shortcut {
sequence: StandardKey.Cancel
onActivated: close()
}
onClosing: {
trackMetadata.rejected()
}
......
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