Changeset 2148 in josm


Ignore:
Timestamp:
Sep 16, 2009 9:28:20 PM (4 years ago)
Author:
Gubaer
Message:

fixed #3530: Unable to satisfy "Please enter a comment....(min 3 chars..)"
fixed #3522: Wrong changeset comment when uploading data

File:
1 edited

Legend:

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

    r2135 r2148  
    328328    protected String getUploadComment() { 
    329329        switch(southTabbedPane.getSelectedIndex()) { 
    330             case 0: 
    331                 pnlChangesetSelection.getUploadComment(); 
    332             case 1: 
    333                 TagModel tm = tagEditorPanel.getModel().get("comment"); 
    334                 return tm == null? "" : tm.getValue(); 
     330        case 0: 
     331            return pnlChangesetSelection.getUploadComment(); 
     332        case 1: 
     333            TagModel tm = tagEditorPanel.getModel().get("comment"); 
     334            return tm == null? "" : tm.getValue(); 
    335335        } 
    336336        return ""; 
Note: See TracChangeset for help on using the changeset viewer.