From 698a5ff475a1b340d739f9ca49c10dc6584e6c98 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 28 Apr 2010 14:20:31 +0100 Subject: [PATCH] update the deluge.config dictionary with the new values --- deluge/ui/web/js/deluge-all/preferences/InterfacePage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deluge/ui/web/js/deluge-all/preferences/InterfacePage.js b/deluge/ui/web/js/deluge-all/preferences/InterfacePage.js index c09d36660..5b8a5120c 100644 --- a/deluge/ui/web/js/deluge-all/preferences/InterfacePage.js +++ b/deluge/ui/web/js/deluge-all/preferences/InterfacePage.js @@ -191,6 +191,10 @@ Deluge.preferences.Interface = Ext.extend(Ext.form.FormPanel, { success: this.onSetConfig, scope: this }); + + for (var key in deluge.config) { + deluge.config[key] = this.optionsManager.get(key); + } } },