Commit 58b5895c authored by Pierre Kraemer's avatar Pierre Kraemer

SCHNApps: add plugin to python context after load

parent 11eb2e3d
......@@ -446,6 +446,8 @@ Plugin* Window::loadPlugin(const QString& pluginFilePath)
statusbar->showMessage(pluginName + QString(" successfully loaded."), 2000);
emit(pluginAdded(plugin));
m_pythonContext.addObject(pluginName, plugin);
// method success
return plugin;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment