fix: place note deletion last in actions

This commit is contained in:
Valdemar Lorenzen
2026-10-20 14:00:44 +02:00
parent 510cc1df1f
commit 18586623c3
2 changed files with 4 additions and 2 deletions
@@ -263,7 +263,7 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
}
func showNotesActions(relativeTo anchor: NSView) {
show(title: "Notes", relativeTo: anchor, available: [12, 13, 14, 15, 16],
show(title: "Notes", relativeTo: anchor, available: [12, 13, 15, 16, 14],
searchAccessibilityLabel: "Search notes actions")
}
@@ -470,7 +470,7 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
}
private func handleCommandKey(_ key: String) -> Bool {
guard isShown, availableEntries == [12, 13, 14, 15, 16] else { return false }
guard isShown, availableEntries == [12, 13, 15, 16, 14] else { return false }
switch key {
case "p": close(); browseNotes?()
case "n": close(); newNote?()