altosui: Disable 'max flight log' config when there are stored flights
authorKeith Packard <keithp@keithp.com>
Sat, 20 Aug 2011 18:19:57 +0000 (11:19 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 20 Aug 2011 18:23:49 +0000 (11:23 -0700)
commit67f28c58db0deca8f8050d33e97ad96017f4baaa
treeb684fc41b234fd19a6457f1bb0741578df273f54
parentfcff63baf8fde1174571a2c7c860099e19dbf629
altosui: Disable 'max flight log' config when there are stored flights

When flights are stored in flash, the maximum flight log value cannot
be changed as the flight data might need to be moved around in
memory. Check for this case by looking for stored flights and
disabling the combo box when storage is not empty.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosConfig.java
altosui/AltosConfigUI.java