Changeset 23892 in osm
- Timestamp:
- 2010-10-28T00:07:01+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/multipoly/src/multipoly/MultipolyAction.java
r23889 r23892 61 61 Collection < Way > selectedWays = Main.main.getCurrentDataSet().getSelectedWays(); 62 62 63 if (selectedWays.size() < 2) { 64 JOptionPane.showMessageDialog(Main.parent, tr("You must select at least two ways.")); 63 if (selectedWays.size() < 1) { 64 // Sometimes it make sense creating multipoly of only one way (so it will form outer way) 65 // and then splitting the way later (so there are multiple ways forming outer way) 66 JOptionPane.showMessageDialog(Main.parent, tr("You must select at one way.")); 65 67 return; 66 68 }
Note:
See TracChangeset
for help on using the changeset viewer.