mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-14 16:57:55 +00:00
Fix "Copy torrents to" setting saving in Web UI
This commit is contained in:
parent
e838b515b3
commit
2e07e911e4
@ -894,8 +894,10 @@ applyPreferences = function() {
|
|||||||
settings.set('scan_dirs', watched_folders[0]);
|
settings.set('scan_dirs', watched_folders[0]);
|
||||||
settings.set('download_in_scan_dirs', watched_folders[1]);
|
settings.set('download_in_scan_dirs', watched_folders[1]);
|
||||||
|
|
||||||
settings.set('exportdir_enabled', $('exportdir_checkbox').getProperty('checked'));
|
if($('exportdir_checkbox').getProperty('checked'))
|
||||||
settings.set('exportdir_path', $('exportdir_text').getProperty('value'));
|
settings.set('export_dir', $('exportdir_text').getProperty('value'));
|
||||||
|
else
|
||||||
|
settings.set('export_dir', '');
|
||||||
settings.set('preallocate_all', $('preallocateall_checkbox').getProperty('checked'));
|
settings.set('preallocate_all', $('preallocateall_checkbox').getProperty('checked'));
|
||||||
if(!$('appendexttr').hasClass('invisible')) {
|
if(!$('appendexttr').hasClass('invisible')) {
|
||||||
settings.set('incomplete_files_ext', $('appendext_checkbox').getProperty('checked'));
|
settings.set('incomplete_files_ext', $('appendext_checkbox').getProperty('checked'));
|
||||||
|
Loading…
Reference in New Issue
Block a user