Changeset 15240 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/AbstractRelationEditorAction.java
- Timestamp:
- 2019-07-10T23:58:43+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/AbstractRelationEditorAction.java
r14214 r15240 90 90 91 91 protected final boolean canDownload() { 92 if (editorAccess.getEditor().getRelation() == null) 93 return false; 94 DataSet ds = editorAccess.getEditor().getRelation().getDataSet(); 92 DataSet ds = editorAccess.getEditor().getLayer().getDataSet(); 95 93 return !NetworkManager.isOffline(OnlineResource.OSM_API) && ds != null && !ds.isLocked() 96 94 && DownloadPolicy.BLOCKED != ds.getDownloadPolicy();
Note:
See TracChangeset
for help on using the changeset viewer.