SEBWIN-643: Fixed exception due to missing check when loading version restrictions in configuration tool.
This commit is contained in:
parent
3dd023b285
commit
37e3950a6f
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ namespace SebWindowsConfig
|
||||||
checkBoxEnforceBuiltinDisplay.Checked = (Boolean) SEBSettings.settingsCurrent[SEBSettings.KeyAllowedDisplayBuiltinEnforce];
|
checkBoxEnforceBuiltinDisplay.Checked = (Boolean) SEBSettings.settingsCurrent[SEBSettings.KeyAllowedDisplayBuiltinEnforce];
|
||||||
checkBoxAllowedDisplayIgnoreError.Checked = (Boolean) SEBSettings.settingsCurrent[SEBSettings.KeyAllowedDisplayIgnoreFailure];
|
checkBoxAllowedDisplayIgnoreError.Checked = (Boolean) SEBSettings.settingsCurrent[SEBSettings.KeyAllowedDisplayIgnoreFailure];
|
||||||
|
|
||||||
if (SEBSettings.settingsCurrent[SEBSettings.KeyVersionRestrictions] is ListObj restrictions)
|
if (SEBSettings.settingsCurrent.TryGetValue(SEBSettings.KeyVersionRestrictions, out var value) && value is ListObj restrictions)
|
||||||
{
|
{
|
||||||
versionRestrictionsTextBox.Clear();
|
versionRestrictionsTextBox.Clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue