From 5bd66db3c677e18f39653f1cdaf2db4959ab8ff0 Mon Sep 17 00:00:00 2001 From: Abdo Date: Fri, 20 Sep 2024 14:22:27 +0300 Subject: [PATCH] Call the profile_did_open() hook earlier (#3421) --- qt/aqt/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/main.py b/qt/aqt/main.py index a27ec8abd..58be32fd4 100644 --- a/qt/aqt/main.py +++ b/qt/aqt/main.py @@ -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: