diff options
author | Keith Packard <keithp@keithp.com> | 2017-05-26 18:47:18 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-05-26 18:47:18 -0700 |
commit | 612756291c7fb68d337c3be2e8197d39e31f3b5c (patch) | |
tree | ab48c194abaeca3c28609069c9ab7495c7a65153 | |
parent | 0f32d1a2e2fb5989d124189a7eb1156a00b0ad8f (diff) |
altosui: Remove debug printf.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/AltosFlightUI.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/altosui/AltosFlightUI.java b/altosui/AltosFlightUI.java index 12277f89..b4445992 100644 --- a/altosui/AltosFlightUI.java +++ b/altosui/AltosFlightUI.java @@ -115,11 +115,8 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay { 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); - } cur_tab = tab; } |