Changeset 3717 in josm for trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
- Timestamp:
- 2010-12-12T11:18:41+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
r3683 r3717 373 373 if (result.hasChanges) { 374 374 375 List<Way> allWays = new ArrayList<Way>(); 376 for (Multipolygon pol : result.polygons) { 377 allWays.add(pol.outerWay); 378 allWays.addAll(pol.innerWays); 379 } 380 DataSet ds = Main.main.getCurrentDataSet(); 381 ds.setSelected(allWays); 375 382 Main.map.mapView.repaint(); 376 DataSet ds = Main.main.getCurrentDataSet();377 ds.fireSelectionChanged();378 383 } else { 379 384 JOptionPane.showMessageDialog(Main.parent, tr("No intersection found. Nothing was changed."));
Note:
See TracChangeset
for help on using the changeset viewer.