Ignore:
Timestamp:
2019-10-06T14:41:30+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #5633 - proper cancel of "close open changesets" action

File:
1 edited

Legend:

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

    r15342 r15430  
    2828import org.openstreetmap.josm.io.OsmServerChangesetReader;
    2929import org.openstreetmap.josm.io.OsmServerUserInfoReader;
     30import org.openstreetmap.josm.io.OsmTransferCanceledException;
    3031import org.openstreetmap.josm.io.OsmTransferException;
     32import org.openstreetmap.josm.tools.Logging;
    3133import org.openstreetmap.josm.tools.Shortcut;
    3234import org.xml.sax.SAXException;
     
    140142                        getProgressMonitor().createSubTaskMonitor(1, false /* not internal */)
    141143                );
     144            } catch (OsmTransferCanceledException e) {
     145                Logging.trace(e);
     146                cancel();
    142147            } catch (OsmTransferException | IllegalArgumentException e) {
    143148                if (canceled)
Note: See TracChangeset for help on using the changeset viewer.