Get an instance of GuiPluginManager to report errors loading plugins
svn: r18918
This commit is contained in:
parent
36f9b37e4e
commit
9d46f1ac7e
@ -1870,7 +1870,8 @@ def run_plugin(pdata, dbstate, uistate):
|
||||
1/ load plugin.
|
||||
2/ the report is run
|
||||
"""
|
||||
mod = GuiPluginManager.get_instance().load_plugin(pdata)
|
||||
pmgr = GuiPluginManager.get_instance()
|
||||
mod = pmgr.load_plugin(pdata)
|
||||
if not mod:
|
||||
#import of plugin failed
|
||||
ErrorDialog(
|
||||
|
Loading…
Reference in New Issue
Block a user