Ignore:
Timestamp:
2019-12-08T14:35:57+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18302 - support national taginfo instances

File:
1 edited

Legend:

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

    r13951 r15565  
    3434        return getDataSet().isLocked();
    3535    }
     36
     37    /**
     38     * Clears the data backing this layer, unless if locked.
     39     * @since 15565
     40     */
     41    public void clear() {
     42        OsmData<?, ?, ?, ?> data = getDataSet();
     43        if (data != null && !data.isLocked()) {
     44            data.clear();
     45        }
     46    }
    3647}
Note: See TracChangeset for help on using the changeset viewer.