Do not ignore the state of a window when opening it
This commit is contained in:
parent
d3807e3180
commit
ee55d3e96c
@ -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 New Issue
Block a user