mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 20:15:32 +00:00
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)
|
if (sif)
|
||||||
{
|
{
|
||||||
Accessor::makeNullableInt(widget, value);
|
Accessor::makeNullableInt(widget, value_to_index(value, values));
|
||||||
|
|
||||||
int sif_value;
|
int sif_value;
|
||||||
if (sif->GetIntValue(section.c_str(), key.c_str(), &sif_value))
|
if (sif->GetIntValue(section.c_str(), key.c_str(), &sif_value))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user