From: Keith Packard Date: Wed, 17 Apr 2013 00:47:17 +0000 (-0700) Subject: altosui: Disable main deploy setting for TeleGPS X-Git-Tag: altosdroid_v1.2-1~11 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=87d6ed24f3650981ae1ff9bfdb0298d2c01e7575;ds=sidebyside 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 --- 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() {