fix: place note deletion last in actions
This commit is contained in:
@@ -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?()
|
||||
|
||||
Reference in New Issue
Block a user