mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 23:57:13 -05:00
Merge branch 'master' of github.com:dae/anki
This commit is contained in:
commit
0f6bc861d4
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ class DialogManager(object):
|
||||||
def open(self, name, *args):
|
def open(self, name, *args):
|
||||||
(creator, instance) = self._dialogs[name]
|
(creator, instance) = self._dialogs[name]
|
||||||
if instance:
|
if instance:
|
||||||
instance.setWindowState(Qt.WindowActive)
|
instance.setWindowState(instance.windowState() | Qt.WindowActive)
|
||||||
instance.activateWindow()
|
instance.activateWindow()
|
||||||
instance.raise_()
|
instance.raise_()
|
||||||
return instance
|
return instance
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue