Changeset 3905 in josm


Ignore:
Timestamp:
2011-02-15T19:08:50+01:00 (14 years ago)
Author:
stoecker
Message:

fix #5964

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitiveType.java

    r3844 r3905  
    1313
    1414    /* only for display, no real type */
    15     CLOSEDWAY  (marktr("closedway"), Way.class, WayData.class),
    16     MULTIPOLYGON (marktr("multipolygon"), Relation.class, RelationData.class);
     15    CLOSEDWAY  (marktr("closedway"), null, WayData.class),
     16    MULTIPOLYGON (marktr("multipolygon"), null, RelationData.class);
    1717
    1818    private final String apiTypeName;
  • trunk/src/org/openstreetmap/josm/gui/widgets/OsmPrimitiveTypesComboBox.java

    r3083 r3905  
    1313    public OsmPrimitiveTypesComboBox() {
    1414        for (OsmPrimitiveType type: OsmPrimitiveType.values()){
    15             addItem(type);
     15            if(type.getOsmClass() != null)
     16                addItem(type);
    1617        }
    1718    }
Note: See TracChangeset for help on using the changeset viewer.