Fix setting quality profile resolution on edit

This commit is contained in:
Arkadiusz Fal 2022-08-19 00:27:03 +02:00
parent e90ce2a165
commit f53359a7b5

View File

@ -299,7 +299,9 @@ struct QualityProfileForm: View {
} }
} }
if let newResolution = availableResolutions.first { if isResolutionDisabled(resolution),
let newResolution = availableResolutions.first
{
resolution = newResolution resolution = newResolution
} }
} }