Changeset 10446 in josm for trunk/src/org/openstreetmap/josm/actions/upload
- Timestamp:
- 2016-06-21T00:58:45+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/upload
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/upload/ApiPreconditionCheckerHook.java
r8870 r10446 73 73 JOptionPane.ERROR_MESSAGE 74 74 ); 75 Main. main.getCurrentDataSet().setSelected(Collections.singleton(osmPrimitive));75 Main.getLayerManager().getEditDataSet().setSelected(Collections.singleton(osmPrimitive)); 76 76 return false; 77 77 } … … 90 90 JOptionPane.ERROR_MESSAGE 91 91 ); 92 Main. main.getCurrentDataSet().setSelected(Collections.singleton(osmPrimitive));92 Main.getLayerManager().getEditDataSet().setSelected(Collections.singleton(osmPrimitive)); 93 93 return false; 94 94 } -
trunk/src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java
r10247 r10446 151 151 OsmValidator.initializeErrorLayer(); 152 152 Main.map.validatorDialog.unfurlDialog(); 153 Main. main.getCurrentDataSet().fireSelectionChanged();153 Main.getLayerManager().getEditDataSet().fireSelectionChanged(); 154 154 return false; 155 155 }
Note:
See TracChangeset
for help on using the changeset viewer.