forked from extern/easydiffusion
Fix a bug with drag-and-drop where the upscale dropdown would not get enabled/disabled based on the setting
This commit is contained in:
parent
1176ddcc85
commit
a86b6bfbd6
@ -136,7 +136,9 @@ const TASK_MAPPING = {
|
||||
upscaleModelField.value = use_upscale
|
||||
if (upscaleModelField.value) { // Is a valid value for the field.
|
||||
useUpscalingField.checked = true
|
||||
upscaleModelField.disabled = false
|
||||
} else { // Not a valid value, restore the old value and disable the filter.
|
||||
upscaleModelField.disabled = true
|
||||
upscaleModelField.value = oldVal
|
||||
useUpscalingField.checked = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user