Changeset 17379 in josm
- Timestamp:
- 2020-11-30T16:33:56+01:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/UndoRedoHandler.java
r17378 r17379 470 470 * @since 12718 471 471 */ 472 public s ynchronized void clean(DataSet dataSet) {472 public static synchronized void clean(DataSet dataSet) { 473 473 if (dataSet == null) 474 474 return; -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r17160 r17379 222 222 Layer layer = e.getRemovedLayer(); 223 223 if (layer instanceof OsmDataLayer) { 224 UndoRedoHandler. getInstance().clean(((OsmDataLayer) layer).getDataSet());224 UndoRedoHandler.clean(((OsmDataLayer) layer).getDataSet()); 225 225 } 226 226 } -
trunk/src/org/openstreetmap/josm/gui/io/AsynchronousUploadPrimitivesTask.java
r14153 r17379 121 121 GuiHelper.runInEDTAndWait(() -> { 122 122 // Remove the commands from the undo stack 123 UndoRedoHandler. getInstance().clean(uploadDataLayer.getDataSet());123 UndoRedoHandler.clean(uploadDataLayer.getDataSet()); 124 124 MainApplication.getLayerManager().prepareLayerForUpload(uploadDataLayer); 125 125 -
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r17166 r17379 654 654 return; 655 655 656 UndoRedoHandler. getInstance().clean(data);656 UndoRedoHandler.clean(data); 657 657 658 658 // if uploaded, clean the modified flags as well
Note:
See TracChangeset
for help on using the changeset viewer.