diff --git a/src/webui/www/private/download.html b/src/webui/www/private/download.html
index 3cf9034f5..aac526fcb 100644
--- a/src/webui/www/private/download.html
+++ b/src/webui/www/private/download.html
@@ -79,6 +79,14 @@
+
diff --git a/src/webui/www/private/scripts/download.js b/src/webui/www/private/scripts/download.js
index eec18e0e3..54ee38e70 100644
--- a/src/webui/www/private/scripts/download.js
+++ b/src/webui/www/private/scripts/download.js
@@ -73,6 +73,7 @@ window.qBittorrent.Download = (function() {
defaultSavePath = pref.save_path;
$('savepath').setProperty('value', defaultSavePath);
$('startTorrent').checked = !pref.start_paused_enabled;
+ $('addToTopOfQueue').checked = pref.add_to_top_of_queue;
if (pref.auto_tmm_enabled == 1) {
$('autoTMM').selectedIndex = 1;
diff --git a/src/webui/www/private/upload.html b/src/webui/www/private/upload.html
index 1a0974356..7ae768adc 100644
--- a/src/webui/www/private/upload.html
+++ b/src/webui/www/private/upload.html
@@ -67,6 +67,14 @@
|
+
diff --git a/src/webui/www/private/views/preferences.html b/src/webui/www/private/views/preferences.html
index cc9648e63..e2445cbf3 100644
--- a/src/webui/www/private/views/preferences.html
+++ b/src/webui/www/private/views/preferences.html
@@ -54,6 +54,10 @@
+
+
+
+
@@ -1816,6 +1820,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD
break;
}
$('contentlayout_select').getChildren('option')[index].setAttribute('selected', '');
+ $('addToTopOfQueueCheckbox').setProperty('checked', pref.add_to_top_of_queue);
$('dontstartdownloads_checkbox').setProperty('checked', pref.start_paused_enabled);
switch (pref.torrent_stop_condition) {
case "None":
@@ -2181,6 +2186,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD
// Downloads tab
// When adding a torrent
settings.set('torrent_content_layout', $('contentlayout_select').getSelected()[0].getProperty('value'));
+ settings.set('add_to_top_of_queue', $('addToTopOfQueueCheckbox').getProperty('checked'));
settings.set('start_paused_enabled', $('dontstartdownloads_checkbox').getProperty('checked'));
settings.set('torrent_stop_condition', $('stopConditionSelect').getSelected()[0].getProperty('value'));
settings.set('auto_delete_mode', $('deletetorrentfileafter_checkbox').getProperty('checked'));
|