Changeset 480b991ef3d1…
Parent a8ab8ecc7471…
by
Changes to one file · Browse files at 480b991ef3d1 Showing diff from parent a8ab8ecc7471 Diff from another changeset...
@@ -292,10 +292,12 @@ else:
return checkargs()
+mainapp = None
def qtrun(dlgfunc, ui, *args, **opts):
portable_fork(ui, opts)
- if QtGui.QApplication.instance():
+ global mainapp
+ if mainapp:
dlg = dlgfunc(ui, *args, **opts)
if dlg:
dlg.show()
|
Loading...