diff --git a/scripts/blurdeform/utils.py b/scripts/blurdeform/utils.py index 1d9e67a..03889ff 100644 --- a/scripts/blurdeform/utils.py +++ b/scripts/blurdeform/utils.py @@ -150,13 +150,14 @@ def rootWindow(): def launchDialog(parent, dialogClass, instance, modal=True, instanced=True): - if instanced: - if instance is None: - dlg = dialogClass(parent=parent) - else: - dlg = instance - else: - dlg = dialogClass(parent=parent) + # if instanced: + # if instance is None: + # dlg = dialogClass(parent=parent) + # else:# fails + # dlg = instance + # else: + # dlg = dialogClass(parent=parent) + dlg = dialogClass(parent=parent) if modal: dlg.exec_()