Preferences/Shortcuts.py

branch
5_0_x
changeset 596
0b7d359a00e5
parent 97
c4086afea02b
child 792
a13346916170
--- a/Preferences/Shortcuts.py	Sun Sep 05 15:27:12 2010 +0200
+++ b/Preferences/Shortcuts.py	Sun Sep 12 16:39:36 2010 +0200
@@ -190,6 +190,10 @@
     @param fn filename of the export file (string)
     @return flag indicating success
     """
+    # let the plugin manager create on demand plugin objects
+    pm = e5App().getObject("PluginManager")
+    pm.initOnDemandPlugins()
+    
     try:
         if fn.lower().endswith("e4kz"):
             try:
@@ -223,6 +227,10 @@
     @param fn filename of the import file (string)
     @return flag indicating success
     """
+    # let the plugin manager create on demand plugin objects
+    pm = e5App().getObject("PluginManager")
+    pm.initOnDemandPlugins()
+    
     try:
         if fn.lower().endswith("kz"):
             try:

eric ide

mercurial