1
0
mirror of https://github.com/yattee/yattee.git synced 2025-01-06 01:20:31 +05:30

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 resolution = newResolution
} }
} }