Utilities/Startup.py

changeset 701
fc587a1c2f8b
parent 564
b3d966393ba9
child 791
9ec2ac20e54e
--- a/Utilities/Startup.py	Sat Oct 23 19:54:52 2010 +0200
+++ b/Utilities/Startup.py	Sun Oct 24 17:34:10 2010 +0200
@@ -232,7 +232,8 @@
     )
     
     w = mwFactory(argv)
-    app.lastWindowClosed.connect(app.quit)
+    if quitOnLastWindowClosed:
+        app.lastWindowClosed.connect(app.quit)
     w.show()
     
-    return app.exec_()
\ No newline at end of file
+    return app.exec_()

eric ide

mercurial