Ignore:
Timestamp:
2008-12-19T14:43:36+01:00 (17 years ago)
Author:
framm
Message:
  • Added new "open location" option in the file menu which can be used to download OSM data from a given URL. Experimental feature, use with care.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/Main.java

    r1138 r1146  
    484484        if (s.startsWith("file:")) {
    485485            try {
    486                 main.menu.open.openFile(new File(new URI(s)));
     486                main.menu.openFile.openFile(new File(new URI(s)));
    487487            } catch (URISyntaxException e) {
    488488                JOptionPane.showMessageDialog(Main.parent, tr("Ignoring malformed file url: \"{0}\"", s));
     
    501501        }
    502502
    503         main.menu.open.openFile(new File(s));
     503        main.menu.openFile.openFile(new File(s));
    504504    }
    505505
Note: See TracChangeset for help on using the changeset viewer.