mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-03 07:03:58 +00:00
Fixed plugin precedence for the first plugin in plugin list.
If a plugin was in both the system wide and ther user's plugin folder and the plugin was the first in the list the plugin was loaded and listed twice.
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