projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0f32d1a
)
altosui: Remove debug printf.
author
Keith Packard
<keithp@keithp.com>
Sat, 27 May 2017 01:47:18 +0000
(18:47 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/altosui/AltosFlightUI.java
b/altosui/AltosFlightUI.java
index 12277f8921e193a437a002b58a16dfc8c2e7bcde..b4445992340e3ceef79a460b1145cafbb3f242b3 100644
(file)
--- 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;
}