Changeset 2480 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2009-11-19T13:30:09+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/UploadAction.java
r2402 r2480 38 38 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 39 39 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 40 import org.openstreetmap.josm.io.ChangesetClosedException; 40 41 import org.openstreetmap.josm.io.OsmApi; 41 42 import org.openstreetmap.josm.io.OsmApiException; 42 43 import org.openstreetmap.josm.io.OsmApiInitializationException; 43 44 import org.openstreetmap.josm.io.OsmApiPrimitiveGoneException; 44 import org.openstreetmap.josm.io.OsmChangesetCloseException;45 45 import org.openstreetmap.josm.io.OsmServerWriter; 46 46 import org.openstreetmap.josm.io.OsmTransferException; … … 480 480 } 481 481 482 if (e instanceof OsmChangesetCloseException) {483 ExceptionDialogUtil.explainOsmChangesetCloseException((OsmChangesetCloseException)e);484 return;485 }486 482 if (e instanceof OsmApiPrimitiveGoneException) { 487 483 handleGone((OsmApiPrimitiveGoneException)e); … … 674 670 } 675 671 layer.onPostUploadToServer(); 676 UploadDialog.getUploadDialog().setOrUpdateChangeset(changeset); 672 if (lastException != null && lastException instanceof ChangesetClosedException) { 673 UploadDialog.getUploadDialog().removeChangeset(changeset); 674 } else { 675 UploadDialog.getUploadDialog().setOrUpdateChangeset(changeset); 676 } 677 677 } 678 678
Note:
See TracChangeset
for help on using the changeset viewer.
