mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
raise profile window on macos
otherwise profile manager opens without focus
This commit is contained in:
parent
6d7dd08e1e
commit
1b7a7df4f0
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue