Fix setting quality profile resolution on edit

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

View File

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