Ignore:
Timestamp:
2009-05-07T17:55:45+02:00 (15 years ago)
Author:
stoecker
Message:

fix #2429 - patch by Gubaer - fix upload cancel

File:
1 edited

Legend:

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

    r1575 r1581  
    138138
    139139    private void dealWithTransferException (OsmTransferException e) {
     140        if (e instanceof OsmTransferCancelledException) {
     141            // ignore - don't bother the user with yet another message that he
     142            // has successfully cancelled the data upload
     143            //
     144            return;
     145        }
     146       
    140147        JOptionPane.showMessageDialog(Main.parent,
    141148            /* tr("Error during upload: ") + */ e.getMessage());
Note: See TracChangeset for help on using the changeset viewer.