show main window on startup on mac
this causes a visible resize, but seems to fix the intermittent beachball on startup issue
This commit is contained in:
parent
29026b08e2
commit
5cc8e9b7d3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user