From 9d46f1ac7e95c47627360d53c6edc4c1c724115b Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Fri, 17 Feb 2012 18:37:02 +0000 Subject: [PATCH] Get an instance of GuiPluginManager to report errors loading plugins svn: r18918 --- src/gui/viewmanager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/viewmanager.py b/src/gui/viewmanager.py index 11498b4c8..ee6d182d4 100644 --- a/src/gui/viewmanager.py +++ b/src/gui/viewmanager.py @@ -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(