summaryrefslogtreecommitdiff
path: root/altosui/AltosFlashUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-01-02 15:45:14 -0800
committerKeith Packard <keithp@keithp.com>2012-06-02 19:09:09 -0700
commit97663f922e236f4ee7bd08277ca80d419b5cd10f (patch)
tree338e6fd4125c6312dccb7d203877551db6d63090 /altosui/AltosFlashUI.java
parentc9e52287751867d9e451146ccde78109609d30d7 (diff)
altosui: Split out UI-specific preferences
Prepare to create library shared with android application. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosFlashUI.java')
-rw-r--r--altosui/AltosFlashUI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosFlashUI.java b/altosui/AltosFlashUI.java
index 704ce35c..f91c542d 100644
--- a/altosui/AltosFlashUI.java
+++ b/altosui/AltosFlashUI.java
@@ -161,7 +161,7 @@ public class AltosFlashUI
boolean select_source_file() {
JFileChooser hexfile_chooser = new JFileChooser();
- File firmwaredir = AltosPreferences.firmwaredir();
+ File firmwaredir = AltosUIPreferences.firmwaredir();
if (firmwaredir != null)
hexfile_chooser.setCurrentDirectory(firmwaredir);
@@ -174,7 +174,7 @@ public class AltosFlashUI
file = hexfile_chooser.getSelectedFile();
if (file == null)
return false;
- AltosPreferences.set_firmwaredir(file.getParentFile());
+ AltosUIPreferences.set_firmwaredir(file.getParentFile());
return true;
}