Changeset 2462 in josm
- Timestamp:
- 2009-11-15T18:24:28+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java
r2452 r2462 138 138 String nodes = trn("{0} node", "{0} nodes", nodesNo, nodesNo); 139 139 name += (name.length() > 0) ? " ("+nodes+")" : nodes; 140 if(way.get Errors() != null) {140 if(way.getDataSet().getErrors(way) != null) { 141 141 name = "*"+name; 142 142 } … … 189 189 int mbno = relation.getMembersCount(); 190 190 name += trn("{0} member", "{0} members", mbno, mbno) + ")"; 191 if(relation.get Errors() != null) {191 if(relation.getDataSet().getErrors(relation) != null) { 192 192 name = "*"+name; 193 193 }
Note:
See TracChangeset
for help on using the changeset viewer.