Remove invalid cast

This commit is contained in:
John Lewin 2017-09-13 06:05:29 -07:00
parent 5e6afa4496
commit c8acc11275

View file

@ -40,7 +40,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
protected override string ConvertValue(string newValue)
{
double.TryParse(newValue, out double currentValue);
doubleValue = (int)currentValue;
doubleValue = currentValue;
return doubleValue.ToString();
}