mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-22 23:55:46 +00:00
PICARD-1313: Unregister extension points when uninstalling a plugin
This commit is contained in:
committed by
Philipp Wolfer
parent
b1410780d6
commit
2b4d2106ea
@@ -397,7 +397,7 @@ class PluginManager(QtCore.QObject):
|
||||
if os.path.isfile(update):
|
||||
log.debug("Removing file %r", update)
|
||||
os.remove(update)
|
||||
|
||||
_unregister_module_extensions(plugin_name)
|
||||
self.plugins = [ p for p in self.plugins if p.module_name != plugin_name]
|
||||
|
||||
def remove_plugin(self, plugin_name, with_update=False):
|
||||
|
||||
Reference in New Issue
Block a user