altosui: Remove debug printf.
authorKeith Packard <keithp@keithp.com>
Sat, 27 May 2017 01:47:18 +0000 (18:47 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 27 May 2017 01:47:18 +0000 (18:47 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosFlightUI.java

index 12277f8921e193a437a002b58a16dfc8c2e7bcde..b4445992340e3ceef79a460b1145cafbb3f242b3 100644 (file)
@@ -115,11 +115,8 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay {
 
                JComponent tab = which_tab(state);
                if (tab != cur_tab) {
 
                JComponent tab = which_tab(state);
                if (tab != cur_tab) {
-                       System.out.printf("checking tab for state %s\n", AltosLib.state_name(state.state()));
-                       if (cur_tab == pane.getSelectedComponent()) {
-                               System.out.printf("switch tabs\n");
+                       if (cur_tab == pane.getSelectedComponent())
                                pane.setSelectedComponent(tab);
                                pane.setSelectedComponent(tab);
-                       }
                        cur_tab = tab;
                }
 
                        cur_tab = tab;
                }