mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
make sure windows that are minimized are restored (#853)
This commit is contained in:
parent
3e08f09b07
commit
47e7f28779
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ class DialogManager(object):
|
|||
def open(self, name, *args):
|
||||
(creator, instance) = self._dialogs[name]
|
||||
if instance:
|
||||
instance.setWindowState(Qt.WindowActive)
|
||||
instance.activateWindow()
|
||||
instance.raise_()
|
||||
return instance
|
||||
|
|
Loading…
Reference in a new issue