Changeset 2343 in josm for trunk/src/org/openstreetmap/josm/actions/DownloadReferrersAction.java
- Timestamp:
- 2009-10-28T20:14:07+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DownloadReferrersAction.java
r2323 r2343 92 92 93 93 public void actionPerformed(ActionEvent e) { 94 if (!isEnabled() || Main.map == null || Main.map.mapView == null)94 if (!isEnabled() || ! Main.isDisplayingMapView()) 95 95 return; 96 96 OsmDataLayer layer = Main.map.mapView.getEditLayer();
Note:
See TracChangeset
for help on using the changeset viewer.