diff -r d14ddbfbbd36 -r c6dda2cbe081 eric6_trpreviewer.py --- 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"),