Changeset 30314 in osm for applications/editors/josm/plugins/smed2/src/panels/PanelMain.java
- Timestamp:
- 2014-03-01T18:57:59+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/panels/PanelMain.java
r30298 r30314 47 47 }; 48 48 private JButton importButton = null; 49 JFileChooser ifc = new JFileChooser(Main.pref.get("smed2plugin.file")); 49 JFileChooser ifc = new JFileChooser(Main.pref.get("smed2plugin.encinpfile")); 50 50 private ActionListener alImport = new ActionListener() { 51 51 public void actionPerformed(java.awt.event.ActionEvent e) { … … 56 56 if (returnVal == JFileChooser.APPROVE_OPTION) { 57 57 try { 58 Main.pref.put("smed2plugin.file", ifc.getSelectedFile().getPath()); 58 Main.pref.put("smed2plugin.encinpfile", ifc.getSelectedFile().getPath()); 59 59 Smed2Action.panelS57.startImport(ifc.getSelectedFile()); 60 60 } catch (IOException e1) {
Note:
See TracChangeset
for help on using the changeset viewer.
