eric5.py

branch
5_5_x
changeset 3813
31b15072115d
parent 3710
0060733678b0
diff -r ca370b397c9e -r 31b15072115d eric5.py
--- a/eric5.py	Mon Sep 22 19:50:32 2014 +0200
+++ b/eric5.py	Tue Sep 23 18:46:41 2014 +0200
@@ -233,9 +233,7 @@
     
     app = E5Application(sys.argv)
     
-    import Utilities
     from Toolbox import Startup
-    
     ddindex = Startup.handleArgs(sys.argv, appinfo)
     
     logging.debug("Importing Preferences")
@@ -259,6 +257,7 @@
         splash = NoneSplashScreen()
     else:
         splash = SplashScreen()
+    QApplication.processEvents()
 
     # modify the executable search path for the PyQt4 installer
     if Globals.isWindowsPlatform():
@@ -277,6 +276,7 @@
         noopen = True
     for arg in sys.argv:
         if arg.startswith("--plugin=") and sys.argv.index(arg) < ddindex:
+            import Utilities
             # extract the plugin development option
             pluginFile = arg.replace("--plugin=", "").replace('"', "")
             sys.argv.remove(arg)

eric ide

mercurial