Changeset 14992 in josm for trunk


Ignore:
Timestamp:
2019-04-15T01:50:15+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #17610 - make filter model aware of locked layers

File:
1 edited

Legend:

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

    r14276 r14992  
    149149     */
    150150    public void executeFilters(Collection<? extends OsmPrimitive> primitives) {
    151         DataSet ds = OsmDataManager.getInstance().getEditDataSet();
     151        DataSet ds = OsmDataManager.getInstance().getActiveDataSet();
    152152        if (ds == null)
    153153            return;
     
    208208     */
    209209    public void clearFilterFlags() {
    210         DataSet ds = OsmDataManager.getInstance().getEditDataSet();
     210        DataSet ds = OsmDataManager.getInstance().getActiveDataSet();
    211211        if (ds != null) {
    212212            FilterWorker.clearFilterFlags(ds.allPrimitives());
Note: See TracChangeset for help on using the changeset viewer.