Changeset 1838 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2009-07-25T16:34:55+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
r1826 r1838 31 31 import org.openstreetmap.josm.data.osm.WaySegment; 32 32 import org.openstreetmap.josm.data.osm.visitor.CollectBackReferencesVisitor; 33 import org.openstreetmap.josm.gui.ConditionalOptionPaneUtil; 33 34 import org.openstreetmap.josm.gui.ExtendedDialog; 34 35 import org.openstreetmap.josm.gui.PrimitiveNameFormatter; 35 import org.openstreetmap.josm.tools.DontShowAgainInfo;36 36 import org.openstreetmap.josm.tools.ImageProvider; 37 37 … … 391 391 "<br>" + 392 392 "Do you really want to delete?") + "</html>")); 393 return DontShowAgainInfo.show("delete_outside_nodes", msg, false, JOptionPane.YES_NO_OPTION, JOptionPane.YES_OPTION); 393 return ConditionalOptionPaneUtil.showConfirmationDialog( 394 "delete_outside_nodes", 395 Main.parent, 396 msg, 397 tr("Delete confirmation"), 398 JOptionPane.YES_NO_OPTION, 399 JOptionPane.QUESTION_MESSAGE, 400 JOptionPane.YES_OPTION 401 ); 394 402 } 395 396 403 } 397 404 }
Note: See TracChangeset
for help on using the changeset viewer.