Changeset 7820 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2014-12-18T08:28:03+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/NoteLayer.java
r7732 r7820 50 50 super(name); 51 51 noteData = new NoteData(notes); 52 init();53 52 } 54 53 … … 57 56 super(tr("Notes")); 58 57 noteData = new NoteData(); 59 init(); 60 } 61 62 private void init() { 63 if (Main.map != null && Main.map.mapView != null) { 64 Main.map.mapView.addMouseListener(this); 65 } 58 } 59 60 @Override 61 public void hookUpMapView() { 62 Main.map.mapView.addMouseListener(this); 66 63 } 67 64
Note:
See TracChangeset
for help on using the changeset viewer.