apply patch from #1377

This commit is contained in:
Damien Churchill 2010-10-24 13:30:39 +01:00
parent 14565977fa
commit 28ce7a70a0
1 changed files with 2 additions and 2 deletions

View File

@ -232,9 +232,9 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
},
onPluginEnabled: function(pluginName) {
var index = this.grid.getStore().find('plugin', pluginName);
var index = this.list.getStore().find('plugin', pluginName);
if (index == -1) return;
var plugin = this.grid.getStore().getAt(index);
var plugin = this.list.getStore().getAt(index);
plugin.set('enabled', true);
plugin.commit();
},