- Timestamp:
- 2009-10-10T22:51:25+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DownloadReferrersAction.java
r2256 r2271 52 52 53 53 public void actionPerformed(ActionEvent e) { 54 if (!isEnabled() )54 if (!isEnabled() || Main.map == null || Main.map.mapView == null) 55 55 return; 56 56 OsmDataLayer layer = Main.map.mapView.getEditLayer(); 57 if (layer == null) 58 return; 57 59 Collection<OsmPrimitive> primitives = layer.data.getSelected(); 58 60 downloadReferrers(primitives);
Note:
See TracChangeset
for help on using the changeset viewer.