Call the profile_did_open() hook earlier (#3421)

This commit is contained in:
Abdo 2024-09-20 14:22:27 +03:00 committed by GitHub
parent 847f3f6714
commit 5bd66db3c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -529,8 +529,8 @@ class AnkiQt(QMainWindow):
)
refresh_reviewer_on_day_rollover_change()
self.maybe_auto_sync_on_open_close(_onsuccess)
gui_hooks.profile_did_open()
self.maybe_auto_sync_on_open_close(_onsuccess)
def unloadProfile(self, onsuccess: Callable) -> None:
def callback() -> None: