added backspace shortcut as alias for delete

This commit is contained in:
Igor Korsukov 2021-05-12 15:08:19 +02:00
parent 72f4692f22
commit 71ce098561
4 changed files with 4 additions and 1 deletions

View file

@ -514,6 +514,7 @@
<SC>
<key>delete</key>
<seq>Del</seq>
<seq>Backspace</seq>
</SC>
<SC>
<key>time-delete</key>

View file

@ -514,6 +514,7 @@
<SC>
<key>delete</key>
<seq>Del</seq>
<seq>Backspace</seq>
</SC>
<SC>
<key>time-delete</key>

View file

@ -523,6 +523,7 @@
<SC>
<key>delete</key>
<seq>Del</seq>
<seq>Backspace</seq>
</SC>
<SC>
<key>time-delete</key>

View file

@ -202,7 +202,7 @@ const UiActionList NotationUiActions::m_actions = {
QT_TRANSLATE_NOOP("action", "Select all similar elements with more options")
),
UiAction("delete",
mu::context::UiCtxNotationOpened,
mu::context::UiCtxNotationFocused,
QT_TRANSLATE_NOOP("action", "Delete"),
QT_TRANSLATE_NOOP("action", "Delete the selected element(s)"),
IconCode::Code::DELETE_TANK