Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Elisa
Commits
f4355463
Commit
f4355463
authored
Feb 13, 2022
by
Adam Hill
Committed by
Nate Graham
Mar 07, 2022
Browse files
Add escape key shortcut for window close
parent
cbe6c3f2
Pipeline
#146551
passed with stage
in 8 minutes and 54 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/qml/MediaTrackMetadataView.qml
View file @
f4355463
...
...
@@ -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
()
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment