[PTRun][Dev]Fix additional option default values not taking settings values (#29480)

This commit is contained in:
Michael Nadeau 2023-10-31 05:24:54 -04:00 committed by GitHub
parent 3fe56176f3
commit cded4efff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,6 +281,9 @@ namespace PowerLauncher
if (option.Key != null && defaultOptions.TryGetValue(option.Key, out PluginAdditionalOption defaultOption))
{
defaultOption.Value = option.Value;
defaultOption.ComboBoxValue = option.ComboBoxValue;
defaultOption.TextValue = option.TextValue;
defaultOption.NumberValue = option.NumberValue;
}
}