Changeset 10889 in josm for trunk/src/org


Ignore:
Timestamp:
2016-08-24T22:51:46+02:00 (4 years ago)
Author:
Don-vip
Message:

fix #13439 - Node.toString() and Way.toString() causing performance problems (patch by Gerd Petermann)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/OsmPrimitivRenderer.java

    r9708 r10889  
    4545    public Component getListCellRendererComponent(JList<? extends OsmPrimitive> list, OsmPrimitive value, int index,
    4646            boolean isSelected, boolean cellHasFocus) {
    47         Component def = defaultListCellRenderer.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
     47        Component def = defaultListCellRenderer.getListCellRendererComponent(list, null, index, isSelected, cellHasFocus);
    4848        return renderer(def, value, list.getModel().getSize() > 1000);
    4949    }
Note: See TracChangeset for help on using the changeset viewer.