Ignore:
Timestamp:
2013-12-29T21:46:27+01:00 (12 years ago)
Author:
simon04
Message:

fix #9484 - source in upload dialog: add knowledge, survey to selection, compute value from layers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java

    r6428 r6565  
    314314    public void setDefaultChangesetTags(Map<String, String> tags) {
    315315        pnlTagSettings.setDefaultTags(tags);
    316          for (Entry<String, String> entry: tags.entrySet()) {
    317             if ("comment".equals(entry.getKey())) {
    318                 changesetCommentModel.setComment(entry.getValue());
    319             }
    320         }
     316        changesetCommentModel.setComment(tags.get("comment"));
     317        changesetSourceModel.setComment(tags.get("source"));
    321318    }
    322319
Note: See TracChangeset for help on using the changeset viewer.