Changeset 6517 in josm
- Timestamp:
- 2013-12-23T19:17:28+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java ¶
r6350 r6517 73 73 @Override 74 74 public String[] getOptionalParams() { 75 return new String[] {"new_layer", "addtags", "select", "zoom_mode"}; 75 return new String[] {"new_layer", "addtags", "select", "zoom_mode", "changeset_comment", "changeset_source"}; 76 76 } 77 77 … … 200 200 // after downloading, zoom to downloaded area. 201 201 zoom(bbox); 202 } 203 204 // add changeset tags after download if necessary 205 if (args.containsKey("changeset_comment") || args.containsKey("changeset_source")) { 206 Main.worker.submit(new Runnable() { 207 @Override 208 public void run() { 209 if (Main.main.getCurrentDataSet() != null) { 210 if (args.containsKey("changeset_comment")) { 211 Main.main.getCurrentDataSet().addChangeSetTag("comment", args.get("changeset_comment")); 212 } 213 if (args.containsKey("changeset_source")) { 214 Main.main.getCurrentDataSet().addChangeSetTag("source", args.get("changeset_source")); 215 } 216 } 217 } 218 }); 202 219 } 203 220
Note:
See TracChangeset
for help on using the changeset viewer.