Ticket #2434: OsmServerWriter.patch

File OsmServerWriter.patch, 690 bytes (added by pieren, 15 years ago)

patch to allow empty comments in changeset

  • OsmServerWriter.java

     
    8181                 tr("Commit comment"), JOptionPane.QUESTION_MESSAGE);
    8282            if (comment == null)
    8383                return;
    84             // Don't let people just hit enter
    85             if (comment.trim().length() >= 3)
    86                 break;
    87             comment = null;
     84            // let people just hit enter
     85            //if (comment.trim().length() >= 3)
     86            //    break;
     87            //comment = null;
    8888        }
    8989       
    9090        // create changeset if required