Changeset 9062 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
- Timestamp:
- 2015-11-25T01:21:14+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
r8308 r9062 68 68 } 69 69 Main.map.selectMapMode(Main.map.mapModeSelect); 70 LatLon latlon = Main.map.mapView.getLatLon(e.getPoint().x, e.getPoint().y);71 70 72 71 NoteInputDialog dialog = new NoteInputDialog(Main.parent, tr("Create new note"), tr("Create note")); … … 79 78 String input = dialog.getInputText(); 80 79 if (input != null && !input.isEmpty()) { 80 LatLon latlon = Main.map.mapView.getLatLon(e.getPoint().x, e.getPoint().y); 81 81 noteData.createNote(latlon, input); 82 82 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
