mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-04 15:43:58 +00:00
Merge pull request #346 from phw/plugin-fixes
Fixed plugin precedence for the first plugin in plugin list.
This commit is contained in:
@@ -201,7 +201,7 @@ class PluginManager(QtCore.QObject):
|
||||
sorted(compatible_versions)]))
|
||||
plugin.compatible = True
|
||||
setattr(picard.plugins, name, plugin_module)
|
||||
if index:
|
||||
if index is not None:
|
||||
self.plugins[index] = plugin
|
||||
else:
|
||||
self.plugins.append(plugin)
|
||||
|
||||
Reference in New Issue
Block a user