Private GIT

Skip to content
Snippets Groups Projects
Commit 9fb52a57 authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Fix the quality setting on the edit show page not defaulting to the correct preset

parent 0364667b
No related branches found
No related tags found
No related merge requests found
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
<div class="field-pair"> <div class="field-pair">
<label for="qualityPreset" class="nocheck clearfix"> <label for="qualityPreset" class="nocheck clearfix">
#set $overall_quality = $Quality.combineQualities($anyQualities, $bestQualities)
<span class="component-title"> <span class="component-title">
#set $selected = None #set $selected = None
<select id="qualityPreset"> <select id="qualityPreset">
<option value="0">Custom</option> <option value="0">Custom</option>
#for $curPreset in sorted($qualityPresets): #for $curPreset in sorted($qualityPresets):
<option value="$curPreset" #if $curPreset == $sickbeard.QUALITY_DEFAULT then "selected=\"selected\"" else ""#>$qualityPresetStrings[$curPreset]</option> <option value="$curPreset" #if $curPreset == $overall_quality then "selected=\"selected\"" else ""#>$qualityPresetStrings[$curPreset]</option>
#end for #end for
</select> </select>
</span> </span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment