|
|
@ -54,6 +54,10 @@ |
|
|
|
<option value="NoSubfolder">QBT_TR(Don't create subfolder)QBT_TR[CONTEXT=OptionsDialog]</option> |
|
|
|
<option value="NoSubfolder">QBT_TR(Don't create subfolder)QBT_TR[CONTEXT=OptionsDialog]</option> |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="formRow"> |
|
|
|
|
|
|
|
<input type="checkbox" id="addToTopOfQueueCheckbox" /> |
|
|
|
|
|
|
|
<label for="addToTopOfQueueCheckbox">QBT_TR(Add to top of queue)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="formRow"> |
|
|
|
<div class="formRow"> |
|
|
|
<input type="checkbox" id="dontstartdownloads_checkbox" /> |
|
|
|
<input type="checkbox" id="dontstartdownloads_checkbox" /> |
|
|
|
<label for="dontstartdownloads_checkbox">QBT_TR(Do not start the download automatically)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
|
<label for="dontstartdownloads_checkbox">QBT_TR(Do not start the download automatically)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
@ -1816,6 +1820,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
$('contentlayout_select').getChildren('option')[index].setAttribute('selected', ''); |
|
|
|
$('contentlayout_select').getChildren('option')[index].setAttribute('selected', ''); |
|
|
|
|
|
|
|
$('addToTopOfQueueCheckbox').setProperty('checked', pref.add_to_top_of_queue); |
|
|
|
$('dontstartdownloads_checkbox').setProperty('checked', pref.start_paused_enabled); |
|
|
|
$('dontstartdownloads_checkbox').setProperty('checked', pref.start_paused_enabled); |
|
|
|
switch (pref.torrent_stop_condition) { |
|
|
|
switch (pref.torrent_stop_condition) { |
|
|
|
case "None": |
|
|
|
case "None": |
|
|
@ -2181,6 +2186,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD |
|
|
|
// Downloads tab |
|
|
|
// Downloads tab |
|
|
|
// When adding a torrent |
|
|
|
// When adding a torrent |
|
|
|
settings.set('torrent_content_layout', $('contentlayout_select').getSelected()[0].getProperty('value')); |
|
|
|
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('start_paused_enabled', $('dontstartdownloads_checkbox').getProperty('checked')); |
|
|
|
settings.set('torrent_stop_condition', $('stopConditionSelect').getSelected()[0].getProperty('value')); |
|
|
|
settings.set('torrent_stop_condition', $('stopConditionSelect').getSelected()[0].getProperty('value')); |
|
|
|
settings.set('auto_delete_mode', $('deletetorrentfileafter_checkbox').getProperty('checked')); |
|
|
|
settings.set('auto_delete_mode', $('deletetorrentfileafter_checkbox').getProperty('checked')); |
|
|
|