Changeset 8827 in josm


Ignore:
Timestamp:
2015-10-05T16:41:25+02:00 (9 years ago)
Author:
simon04
Message:

fix #11934 - Comment a note before it is uploaded fails

File:
1 edited

Legend:

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

    r8510 r8827  
    8282        private void processNoteComment(ProgressMonitor monitor, OsmApi api, Note note, NoteComment comment) {
    8383            try {
     84                if (updatedNotes.containsKey(note)) {
     85                    // if note has been created earlier in this task, obtain its real id and not use the paceholder id
     86                    note = updatedNotes.get(note);
     87                }
    8488                Note newNote;
    8589                switch (comment.getNoteAction()) {
Note: See TracChangeset for help on using the changeset viewer.