Toolbox/Startup.py

changeset 4035
c38be891d0ab
parent 4021
195a471c327b
child 4566
a2e8f3c420ec
child 4632
ca310db386ed
--- 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