From 1b7a7df4f08bdccb0608a6e6265928960cacfa77 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 1 Feb 2018 12:14:04 +1000 Subject: [PATCH] raise profile window on macos otherwise profile manager opens without focus --- aqt/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/main.py b/aqt/main.py index 56fe1ab42..7f2266cb9 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -140,6 +140,8 @@ class AnkiQt(QMainWindow): self.refreshProfilesList() # raise first, for osx testing d.show() + d.activateWindow() + d.raise_() def refreshProfilesList(self): f = self.profileForm