Make sure we can update read only fields

This commit is contained in:
Lars Brubaker 2021-01-20 18:04:50 -08:00
parent cfc2570524
commit 2838441c13
2 changed files with 2 additions and 2 deletions

View file

@ -581,7 +581,7 @@ namespace MatterHackers.MatterControl.DesignTools
{
if (e.InvalidateType.HasFlag(InvalidateType.DisplayValues))
{
double newValue = (double)property.Value;
int newValue = (int)property.Value;
valueField.Text = string.Format("{0:n0}", newValue);
}
}