Fix the checkmark next to the preset buttons not reflecting the current preset.
This commit is contained in:
parent
13bad26fe6
commit
331bdc5b56
@ -23,7 +23,7 @@ namespace smx_config
|
|||||||
|
|
||||||
foreach(string Preset in Presets)
|
foreach(string Preset in Presets)
|
||||||
{
|
{
|
||||||
SMX.SMXConfig PresetConfig = config;
|
SMX.SMXConfig PresetConfig = SMX.SMXConfig.Create();
|
||||||
SetPreset(Preset, ref PresetConfig);
|
SetPreset(Preset, ref PresetConfig);
|
||||||
if(SamePreset(config, PresetConfig))
|
if(SamePreset(config, PresetConfig))
|
||||||
return Preset;
|
return Preset;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user