summaryrefslogtreecommitdiff
path: root/altosui/AltosConfigUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-16 17:47:17 -0700
committerKeith Packard <keithp@keithp.com>2013-04-17 10:40:05 -0700
commit87d6ed24f3650981ae1ff9bfdb0298d2c01e7575 (patch)
treef49956cfe5772e6dd49bc1d86252005182a2c85a /altosui/AltosConfigUI.java
parenta03aaaca60ccb4b44595e5e1c1047d07d8b6d60f (diff)
altosui: Disable main deploy setting for TeleGPS
Just like all of the other flight computer settings, disable the main deploy altitude configuration for TeleGPS. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosConfigUI.java')
-rw-r--r--altosui/AltosConfigUI.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/altosui/AltosConfigUI.java b/altosui/AltosConfigUI.java
index 4fd0647e..11f40593 100644
--- a/altosui/AltosConfigUI.java
+++ b/altosui/AltosConfigUI.java
@@ -719,6 +719,7 @@ public class AltosConfigUI
public void set_main_deploy(int new_main_deploy) {
main_deploy_value.setSelectedItem(Integer.toString(new_main_deploy));
+ main_deploy_value.setEnabled(new_main_deploy >= 0);
}
public int main_deploy() {