1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 14:27:56 +00:00

Fix saving of encryption setting in the Web UI

This commit is contained in:
Christophe Dumez 2011-08-13 11:14:29 +03:00
parent 7854911d2f
commit e838b515b3

View File

@ -883,6 +883,7 @@ applyPreferences = function() {
settings.set('dht_port', $('DHTPort_txt').getProperty('value').toInt()); settings.set('dht_port', $('DHTPort_txt').getProperty('value').toInt());
settings.set('pex', $('pex_checkbox').getProperty('checked')); settings.set('pex', $('pex_checkbox').getProperty('checked'));
settings.set('lsd', $('lsd_checkbox').getProperty('checked')); settings.set('lsd', $('lsd_checkbox').getProperty('checked'));
settings.set('encryption', $('encryption_select').getSelected()[0].getProperty('value'));
// Downloads // Downloads
settings.set('save_path', $('savepath_text').getProperty('value')); settings.set('save_path', $('savepath_text').getProperty('value'));