diff --git a/Mac/MainWindow/MainWindowController.swift b/Mac/MainWindow/MainWindowController.swift index 53ed0603d..c43f1fb6c 100644 --- a/Mac/MainWindow/MainWindowController.swift +++ b/Mac/MainWindow/MainWindowController.swift @@ -556,6 +556,11 @@ final class MainWindowController: NSWindowController, NSUserInterfaceValidations } @IBAction func moveFocusToSearchField(_ sender: Any?) { + // The search field lives in the toolbar — show it if hidden. + // + if let toolbar = window?.toolbar, !toolbar.isVisible { + toolbar.isVisible = true + } guard let searchField = currentSearchField else { return }