Changeset 27710 in osm
- Timestamp:
- 2012-02-06T04:17:26+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/ReplaceGeometryAction.java
r27698 r27710 81 81 */ 82 82 public void replaceNode(Node node, OsmPrimitive target) { 83 if (! node.getReferrers().isEmpty()) {84 JOptionPane.showMessageDialog(Main.parent, tr("Node belongs to way(s) or relation(s), cannot replace."),83 if (!OsmPrimitive.getFilteredList(node.getReferrers(), Way.class).isEmpty()) { 84 JOptionPane.showMessageDialog(Main.parent, tr("Node belongs to way(s), cannot replace."), 85 85 TITLE, JOptionPane.INFORMATION_MESSAGE); 86 86 return;
Note:
See TracChangeset
for help on using the changeset viewer.