Make sure we get the value out of the internal number edit rather than do the parsing ourselves. The number edit does error checking.
This commit is contained in:
parent
3972aafce7
commit
d4cf61c7c3
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
public double GetValue()
|
||||
{
|
||||
double targetTemp = Convert.ToDouble(numberInputField.Text);
|
||||
double targetTemp = numberInputField.ActuallNumberEdit.Value;
|
||||
return targetTemp;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue