Changeset 13991 in josm


Ignore:
Timestamp:
2018-06-30T22:33:32+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16369 - dialogs: fetch icons for tagged ways and relations, not only nodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r13984 r13991  
    14861486     */
    14871487    public static ImageIcon getPadded(OsmPrimitive primitive, Dimension iconSize) {
    1488         // Check if the current styles have special icon for tagged nodes.
    1489         if (primitive instanceof org.openstreetmap.josm.data.osm.Node) {
     1488        // Check if the current styles have special icon for tagged objects.
     1489        if (primitive.isTagged()) {
    14901490            Pair<StyleElementList, Range> nodeStyles;
    14911491            DataSet ds = primitive.getDataSet();
Note: See TracChangeset for help on using the changeset viewer.