From 5cc8e9b7d3ec04107dd4f1d9e77a7675bd57ef55 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 14 Mar 2014 15:55:15 +0900 Subject: [PATCH] show main window on startup on mac this causes a visible resize, but seems to fix the intermittent beachball on startup issue --- aqt/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/main.py b/aqt/main.py index 0d90cf6af..9c579921e 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -63,6 +63,8 @@ class AnkiQt(QMainWindow): self.onAppMsg(unicode(args[0], sys.getfilesystemencoding(), "ignore")) # Load profile in a timer so we can let the window finish init and not # close on profile load error. + if isMac and qtmajor >= 5: + self.show() self.progress.timer(10, self.setupProfile, False) def setupUI(self):