fix enabling plugins on the fly
This commit is contained in:
parent
a4e8d1eb46
commit
7650ebc373
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue