- Timestamp:
- 2012-03-03T20:03:21+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
r4982 r5036 765 765 int relations = 0; 766 766 for (OsmPrimitive o : sel) { 767 if (! o.isSelectable()) continue; // skip unselectable primitives 767 768 if (o instanceof Way) { 768 769 ways++; … … 786 787 .append(trn("{0} relation", "{0} relations", relations, relations)); 787 788 } 789 if(ways + nodes + relations == 0) { 790 text.append(tr("Unselectable now")); 791 this.sel=new ArrayList<OsmPrimitive>(); // empty selection 792 } 788 793 if(ways + nodes + relations == 1) 789 794 {
Note:
See TracChangeset
for help on using the changeset viewer.