Changeset 12636 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/NotesDialog.java
- Timestamp:
- 2017-08-24T22:53:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/NotesDialog.java
r12630 r12636 82 82 uploadAction = new UploadNotesAction(); 83 83 buildDialog(); 84 Main .getLayerManager().addLayerChangeListener(this);84 MainApplication.getLayerManager().addLayerChangeListener(this); 85 85 } 86 86 … … 356 356 public void actionPerformed(ActionEvent e) { 357 357 if (noteData == null) { //there is no notes layer. Create one first 358 Main .getLayerManager().addLayer(new NoteLayer());358 MainApplication.getLayerManager().addLayer(new NoteLayer()); 359 359 } 360 360 MainApplication.getMap().selectMapMode(new AddNoteAction(noteData));
Note:
See TracChangeset
for help on using the changeset viewer.