Remove invalid cast
This commit is contained in:
parent
5e6afa4496
commit
c8acc11275
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue