diff options
author | Keith Packard <keithp@keithp.com> | 2012-09-11 23:36:26 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-09-11 23:36:26 -0700 |
commit | 87f9a8923656f275f74cfb6c8c6a57bbe59e74f8 (patch) | |
tree | 3eccd60a275bdab900f768577025eb8f1b3b32c2 | |
parent | 3fa5fbdfd1ab257028f272fbc32759b39608ddaf (diff) |
altosui: Initialize imperial units checkbox with correct value
Use imperial units preference instead of serial debug preference. Cut
& paste programming failure...
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/AltosConfigureUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosConfigureUI.java b/altosui/AltosConfigureUI.java index da82e8e0..249fc35a 100644 --- a/altosui/AltosConfigureUI.java +++ b/altosui/AltosConfigureUI.java @@ -246,7 +246,7 @@ public class AltosConfigureUI c.anchor = GridBagConstraints.WEST; pane.add(new JLabel("Imperial Units"), c); - imperial_units = new JRadioButton("Enable", AltosUIPreferences.serial_debug()); + imperial_units = new JRadioButton("Enable", AltosUIPreferences.imperial_units()); imperial_units.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { JRadioButton item = (JRadioButton) e.getSource(); |