1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

macOS: Fixed shortcut for permanent note deletion

This commit is contained in:
Laurent Cozic 2024-09-16 22:16:51 +01:00
parent 95f1992b8a
commit 41b03f9356

View File

@ -122,7 +122,7 @@ const useOnKeyDown = (
}
if (noteIds.length) {
if (key === 'Delete' && event.shiftKey) {
if (key === 'Delete' && event.shiftKey || (key === 'Backspace' && event.metaKey && event.altKey)) {
event.preventDefault();
if (CommandService.instance().isEnabled('permanentlyDeleteNote')) {
void CommandService.instance().execute('permanentlyDeleteNote', noteIds);