eric6_trpreviewer.py

changeset 6702
793af5761910
parent 6645
ad476851d7e0
diff -r 6c1f84f4b305 -r 793af5761910 eric6_trpreviewer.py
--- a/eric6_trpreviewer.py	Tue Feb 05 19:35:13 2019 +0100
+++ b/eric6_trpreviewer.py	Wed Feb 06 19:14:50 2019 +0100
@@ -46,6 +46,8 @@
 
 from Toolbox import Startup
 
+app = None
+
 
 def createMainWidget(argv):
     """
@@ -69,6 +71,8 @@
     """
     Main entry point into the application.
     """
+    global app
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),

eric ide

mercurial