Commit 2e0c2c9f authored by Christian Hergert's avatar Christian Hergert

html-preview: clear action group when unloading

parent 24da7a0e
......@@ -144,6 +144,7 @@ class HtmlWorkbenchAddin(GObject.Object, Ide.WorkbenchAddin):
self.workbench.insert_action_group('html-preview', group)
def do_unload(self, workbench):
workbench.insert_action_group('html-preview', None)
self.workbench = None
def install_docutils(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment