[processing] unregister actions when unloading (follow up f7e6fa67b0)

This commit is contained in:
Alexander Bruy 2016-01-27 09:49:25 +02:00
parent c7204cc722
commit 554ca8da87

View File

@ -128,6 +128,11 @@ class ProcessingPlugin:
if QDir(folder).exists(): if QDir(folder).exists():
shutil.rmtree(folder, True) shutil.rmtree(folder, True)
self.iface.unregisterMainWindowAction(self.toolboxAction)
self.iface.unregisterMainWindowAction(self.modelerAction)
self.iface.unregisterMainWindowAction(self.historyAction)
self.iface.unregisterMainWindowAction(self.configAction)
self.iface.unregisterMainWindowAction(self.resultsAction)
self.iface.unregisterMainWindowAction(self.commanderAction) self.iface.unregisterMainWindowAction(self.commanderAction)
def openCommander(self): def openCommander(self):