eric6_trpreviewer.py

branch
maintenance
changeset 6826
c6dda2cbe081
parent 6702
793af5761910
--- a/eric6_trpreviewer.py	Sat Feb 16 10:27:50 2019 +0100
+++ b/eric6_trpreviewer.py	Sat Mar 02 11:15:24 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