Changeset 14153 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
- Timestamp:
- 2018-08-13T02:18:54+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
r14137 r14153 21 21 import javax.swing.JOptionPane; 22 22 23 import org.openstreetmap.josm.Main;24 23 import org.openstreetmap.josm.command.AddCommand; 25 24 import org.openstreetmap.josm.command.ChangeCommand; … … 416 415 // Checking if the new coordinate is outside of the world 417 416 if (mv.getLatLon(mousePos.x, mousePos.y).isOutSideWorld()) { 418 JOptionPane.showMessageDialog(Main .parent,417 JOptionPane.showMessageDialog(MainApplication.getMainFrame(), 419 418 tr("Cannot add a node outside of the world."), 420 419 tr("Warning"), JOptionPane.WARNING_MESSAGE); … … 502 501 } 503 502 } else if (candidateNode.isTagged()) { 504 JOptionPane.showMessageDialog(Main .parent,503 JOptionPane.showMessageDialog(MainApplication.getMainFrame(), 505 504 tr("Cannot delete node that has tags"), 506 505 tr("Error"), JOptionPane.ERROR_MESSAGE);
Note:
See TracChangeset
for help on using the changeset viewer.
