Ignore:
Timestamp:
2009-10-12T20:59:00+02:00 (15 years ago)
Author:
Gubaer
Message:

see #3668: Upload dialog: comment textbox buggy

File:
1 edited

Legend:

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

    r2273 r2281  
    362362    protected String getUploadComment() {
    363363        switch(southTabbedPane.getSelectedIndex()) {
    364         case 0:
    365             return pnlChangesetSelection.getUploadComment();
    366         case 1:
    367             TagModel tm = tagEditorPanel.getModel().get("comment");
    368             return tm == null? "" : tm.getValue();
     364            case 0:
     365                return pnlChangesetSelection.getUploadComment();
     366            case 1:
     367                TagModel tm = tagEditorPanel.getModel().get("comment");
     368                return tm == null? "" : tm.getValue();
    369369        }
    370370        return "";
     
    802802            setUploadComment(comment);
    803803            cmt.getEditor().selectAll();
    804             cmt.requestFocus();
     804            cmt.requestFocusInWindow();
    805805        }
    806806
Note: See TracChangeset for help on using the changeset viewer.