Skip to content
Snippets Groups Projects
Commit 08a584b8 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

add missing function. Fixes #6985

parent 45563764
No related branches found
No related tags found
No related merge requests found
......@@ -143,6 +143,13 @@ class PluginManager(object):
for plugin_class in plugin_classes:
self.add_plugin(plugin_class)
@log_calls('PluginManager')
def get_active_plugin(self, plugin_name):
for plugin in self.active_plugins:
if plugin.short_name == plugin_name:
return plugin
return None
@log_calls('PluginManager')
def gui_extension_point(self, gui_extpoint_name, *args):
'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment