Changeset 16791 in josm
- Timestamp:
- 2020-07-18T00:11:09+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java
r16471 r16791 293 293 */ 294 294 public static void addTags(String[][] keyValue, String sender, Collection<? extends OsmPrimitive> primitives) { 295 new AddTagsDialog(keyValue, sender, primitives).showDialog(); 295 if (trustedSenders.contains(sender)) { 296 if (MainApplication.getLayerManager().getEditDataSet() != null) { 297 for (String[] row : keyValue) { 298 UndoRedoHandler.getInstance().add(new ChangePropertyCommand(primitives, row[0], row[1])); 299 } 300 } 301 } else { 302 new AddTagsDialog(keyValue, sender, primitives).showDialog(); 303 } 296 304 } 297 305 }
Note:
See TracChangeset
for help on using the changeset viewer.