WebUI: Add "Add to top of queue" option

PR #18660.
This commit is contained in:
thalieht 2023-03-08 17:58:42 +02:00 committed by GitHub
parent ee6f699b48
commit f630d84858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 0 deletions

View file

@ -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;