Fix/improve flicker when opening browser (#1679)

This commit is contained in:
RumovZ 2022-02-22 11:33:50 +01:00 committed by GitHub
parent ad44dc304d
commit 337f96fce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,9 +136,9 @@ 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.show()
self.setupSearch(card, search)
def on_operation_did_execute(
self, changes: OpChanges, handler: object | None