Changeset 6409 in josm


Ignore:
Timestamp:
2013-11-23T20:46:44+01:00 (11 years ago)
Author:
simon04
Message:

#fix 9348 - see #6381 - source= for changeset falsely reported as empty

File:
1 edited

Legend:

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

    r6401 r6409  
    8181
    8282    public void initFromChangeset(Changeset cs) {
    83         String currentComment = getTagEditorValue("comment");
    8483        Map<String,String> tags = getDefaultTags();
    8584        if (cs != null) {
     
    8786        }
    8887        if (tags.get("comment") == null) {
    89             tags.put("comment", currentComment);
     88            tags.put("comment", getTagEditorValue("comment"));
    9089        }
    9190        if (tags.get("source") == null) {
    92             tags.put("source", "");
     91            tags.put("source", getTagEditorValue("source"));
    9392        }
    9493        String agent = Version.getInstance().getAgentString(false);
Note: See TracChangeset for help on using the changeset viewer.