Toolbox/Startup.py

branch
6_0_x
changeset 4036
076a2e6332dc
parent 4022
f5f42921717e
child 4566
a2e8f3c420ec
child 4632
ca310db386ed
diff -r bcee35dbbce0 -r 076a2e6332dc Toolbox/Startup.py
--- a/Toolbox/Startup.py	Thu Jan 08 18:48:52 2015 +0100
+++ b/Toolbox/Startup.py	Mon Jan 12 19:29:14 2015 +0100
@@ -222,13 +222,14 @@
     """
     handleArgs(argv, appinfo)
     if app is None:
+        # set the library paths for plugins
+        setLibraryPaths()
         app = E5Application(argv)
     app.setQuitOnLastWindowClosed(quitOnLastWindowClosed)
     
     # the following code depends upon a valid application object
     import Preferences
     
-    setLibraryPaths()
     initializeResourceSearchPath()
     QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric.png"))
     

eric ide

mercurial