Ignore:
Timestamp:
2014-03-01T18:57:59+01:00 (12 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/panels/PanelMain.java

    r30298 r30314  
    4747        };
    4848        private JButton importButton = null;
    49         JFileChooser ifc = new JFileChooser(Main.pref.get("smed2plugin.file"));
     49        JFileChooser ifc = new JFileChooser(Main.pref.get("smed2plugin.encinpfile"));
    5050        private ActionListener alImport = new ActionListener() {
    5151                public void actionPerformed(java.awt.event.ActionEvent e) {
     
    5656                                if (returnVal == JFileChooser.APPROVE_OPTION) {
    5757                                        try {
    58                                                 Main.pref.put("smed2plugin.file", ifc.getSelectedFile().getPath());
     58                                                Main.pref.put("smed2plugin.encinpfile", ifc.getSelectedFile().getPath());
    5959                                                Smed2Action.panelS57.startImport(ifc.getSelectedFile());
    6060                                        } catch (IOException e1) {
Note: See TracChangeset for help on using the changeset viewer.