raise profile window on macos

otherwise profile manager opens without focus
This commit is contained in:
Damien Elmes 2018-02-01 12:14:04 +10:00
parent 6d7dd08e1e
commit 1b7a7df4f0

View file

@ -140,6 +140,8 @@ class AnkiQt(QMainWindow):
self.refreshProfilesList() self.refreshProfilesList()
# raise first, for osx testing # raise first, for osx testing
d.show() d.show()
d.activateWindow()
d.raise_()
def refreshProfilesList(self): def refreshProfilesList(self):
f = self.profileForm f = self.profileForm