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-01-02 15:45:14 -0800
commit9ca6eac2d6e7cff94ec521d6397d9d3aabb1bcb9 (patch)
tree9bb463a19e1636f04a88d251851eca6928a0ea96 /altosui/AltosFlashUI.java
parent085625ff3992454b59583d95a3c415597c51f754 (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;
}