Ignore:
Timestamp:
2014-01-05T13:22:24+01:00 (10 years ago)
Author:
simon04
Message:

Fix strange effect of UploadDialog where the changeset comment obtained from history was overwritten with an empty value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r6590 r6631  
    236236                    tags.put("source", Main.map.mapView.getLayerInformationForSourceTag());
    237237                }
     238                if (!tags.containsKey("comment")) {
     239                    tags.put("comment", dialog.getLastChangesetCommentFromHistory());
     240                }
    238241                dialog.setDefaultChangesetTags(tags);
    239242            }
Note: See TracChangeset for help on using the changeset viewer.