Qt: Fix global setting showing incorrectly for int-list
This commit is contained in:
parent
89504b0184
commit
d395be07ee
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue