Fix null reference in edge case

This commit is contained in:
John Lewin 2019-01-16 09:05:04 -08:00
parent 1906d4acc4
commit 875c2b52c4

View file

@ -919,7 +919,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
userInitiated: false);
}
uifield.Row.UpdateValidationState(errors);
// Some fields are hosted outside of SettingsRows (e.g. Section Headers like Brim) and should skip validation updates
uifield.Row?.UpdateValidationState(errors);
}
}
}