Changeset 18756 in josm for trunk/src/org
- Timestamp:
- 2023-06-14T16:14:57+02:00 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DeleteAction.java
r18395 r18756 24 24 import org.openstreetmap.josm.gui.MapFrame; 25 25 import org.openstreetmap.josm.gui.dialogs.DeleteFromRelationConfirmationDialog; 26 import org.openstreetmap.josm.gui.util.GuiHelper; 26 27 import org.openstreetmap.josm.gui.widgets.JMultilineLabel; 27 28 import org.openstreetmap.josm.tools.Pair; … … 103 104 public static boolean checkAndConfirmOutlyingDelete(Collection<? extends OsmPrimitive> primitives, 104 105 Collection<? extends OsmPrimitive> ignore) { 105 return checkAndConfirmOutlyingOperation("delete",106 return Boolean.TRUE.equals(GuiHelper.runInEDTAndWaitAndReturn(() -> checkAndConfirmOutlyingOperation("delete", 106 107 tr("Delete confirmation"), 107 108 tr("You are about to delete nodes which can have other referrers not yet downloaded." … … 114 115 + "This will cause problems because you don''t see the real object." 115 116 + "<br>" + "Do you really want to delete?"), 116 primitives, ignore) ;117 primitives, ignore))); 117 118 } 118 119
Note:
See TracChangeset
for help on using the changeset viewer.