diff --git a/qt/aqt/browser/browser.py b/qt/aqt/browser/browser.py index 4a314feac..392e533d9 100644 --- a/qt/aqt/browser/browser.py +++ b/qt/aqt/browser/browser.py @@ -137,8 +137,8 @@ class Browser(QMainWindow): self.on_undo_state_change(mw.undo_actions_info()) # legacy alias self.model = MockModel(self) - self.setupSearch(card, search) gui_hooks.browser_will_show(self) + self.setupSearch(card, search) self.show() def on_operation_did_execute(