From 87d6ed24f3650981ae1ff9bfdb0298d2c01e7575 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 16 Apr 2013 17:47:17 -0700 Subject: [PATCH] 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 --- altosui/AltosConfigUI.java | 1 + 1 file changed, 1 insertion(+) 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() { -- 2.30.2