diff options
author | Keith Packard <keithp@keithp.com> | 2012-03-27 18:24:51 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-03-27 18:24:51 -0700 |
commit | 0952224c36eba25db34bd147d2d579c66b15bbf8 (patch) | |
tree | 67483ba9652774ab6c4f22f943b97c50d7bf76dd /altosui/AltosEepromLog.java | |
parent | 7dd1d62676c1e605fe69a4c0acfe7638c6b79aa5 (diff) |
altosui: Change flight data saving UI to separate download/delete selections
First pop up a dialog to select flights for download. Download
them. Then, after that, pop up a *new* dialog to select flights for
delete. Offer to delete all of the downloaded flights by default. Then
delete the flights.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromLog.java')
-rw-r--r-- | altosui/AltosEepromLog.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/altosui/AltosEepromLog.java b/altosui/AltosEepromLog.java index ee77e5c8..475d7f12 100644 --- a/altosui/AltosEepromLog.java +++ b/altosui/AltosEepromLog.java @@ -43,8 +43,7 @@ public class AltosEepromLog { int year, month, day; - boolean download; - boolean delete; + boolean selected; public AltosEepromLog(AltosConfigData config_data, AltosSerial serial_line, @@ -63,10 +62,9 @@ public class AltosEepromLog { serial = config_data.serial; /* - * By default, request that every log be downloaded but not deleted + * Select all flights for download */ - download = true; - delete = false; + selected = true; /* * Look in TeleMetrum log data for date |