fix setting the add options in the mom

This commit is contained in:
Damien Churchill 2009-10-20 21:53:54 +00:00
commit da2a7ef138

View file

@ -251,7 +251,7 @@ Ext.deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, {
Deluge.Client.core.get_config_values(keys, {
success: function(config) {
config['file_priorities'] = [];
this.optionsManager.defaults = config;
this.optionsManager.options = config;
},
scope: this
});