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:
parent
95f1992b8a
commit
41b03f9356
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user