Call browser show hook prior to initiating search

https://github.com/ankipalace/advanced-browser/issues/141
This commit is contained in:
Damien Elmes 2022-04-02 21:42:49 +10:00
parent d90608198f
commit 9ed12bb9d0

View File

@ -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(