Qt: Fix global setting showing incorrectly for int-list

This commit is contained in:
Stenzek 2025-01-22 18:23:15 +10:00
parent 89504b0184
commit d395be07ee
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ static void BindWidgetToIntSetting(SettingsInterface* sif, WidgetType* widget, s
if (sif)
{
Accessor::makeNullableInt(widget, value);
Accessor::makeNullableInt(widget, value_to_index(value, values));
int sif_value;
if (sif->GetIntValue(section.c_str(), key.c_str(), &sif_value))