fix enabling plugins on the fly

This commit is contained in:
Damien Churchill 2009-12-10 14:32:55 +00:00
parent a4e8d1eb46
commit 7650ebc373
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ Ext.deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
this.grid.on('cellclick', this.onCellClick, this);
Deluge.Preferences.on('show', this.onPreferencesShow, this);
Deluge.Events.on('PluginDisabledEvent', this.onPluginDisabled, this);
Deluge.Events.on('PluginEnabledEvent', this.onPluginsEnabled, this);
Deluge.Events.on('PluginEnabledEvent', this.onPluginEnabled, this);
},
disablePlugin: function(plugin) {
@ -242,4 +242,4 @@ Ext.deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
this.setInfo();
}
});
Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());
Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());