Let the Core fire the PluginDisabled event instead of disabling the plugin right away

This commit is contained in:
Andrew Resch 2011-06-06 13:55:17 -07:00
parent acb4ab44d2
commit 2542ad9234

View File

@ -974,7 +974,6 @@ class Preferences(component.Component):
client.core.enable_plugin(name)
else:
client.core.disable_plugin(name)
component.get("PluginManager").disable_plugin(name)
def on_plugin_selection_changed(self, treeselection):
log.debug("on_plugin_selection_changed")