mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
dialogs.open() needs to un-minimize as well
This commit is contained in:
parent
7c76a23cce
commit
6a109caa7c
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class DialogManager(object):
|
|||
def open(self, name, *args):
|
||||
(creator, instance) = self._dialogs[name]
|
||||
if instance:
|
||||
instance.setWindowState(instance.windowState() | Qt.WindowActive)
|
||||
instance.setWindowState(Qt.WindowNoState)
|
||||
instance.activateWindow()
|
||||
instance.raise_()
|
||||
return instance
|
||||
|
|
Loading…
Reference in a new issue