Get an instance of GuiPluginManager to report errors loading plugins
svn: r18919
This commit is contained in:
parent
edaea54a84
commit
73a32cfeec
@ -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