Changeset 7239 in josm for trunk/src


Ignore:
Timestamp:
2014-06-10T21:47:35+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #10135 - Display total number of validator problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/validator/ValidatorTreePanel.java

    r7117 r7239  
    209209
    210210            // Severity node
    211             DefaultMutableTreeNode severityNode = new DefaultMutableTreeNode(s);
     211            DefaultMutableTreeNode severityNode = new DefaultMutableTreeNode(s) {
     212                @Override
     213                public String toString() {
     214                    return super.toString() + " (" + getLeafCount() + ")";
     215                }
     216            };
    212217            rootNode.add(severityNode);
    213218
Note: See TracChangeset for help on using the changeset viewer.