mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
Mission planner: Fixed battery capacity validation
This commit is contained in:
parent
9e3967d4c4
commit
a502d04e6e
@ -434,7 +434,7 @@ namespace ArdupilotMega.Setup
|
||||
private void TXT_battcapacity_Validating(object sender, CancelEventArgs e)
|
||||
{
|
||||
float ans = 0;
|
||||
e.Cancel = !float.TryParse(TXT_declination.Text, out ans);
|
||||
e.Cancel = !float.TryParse(TXT_battcapacity.Text, out ans);
|
||||
}
|
||||
|
||||
private void CMB_batmontype_SelectedIndexChanged(object sender, EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user