Ignore:
Timestamp:
2018-08-31T00:57:57+02:00 (5 months ago)
Author:
Don-vip
Message:

fix #16698, see #15670 - make sure filters are executed (costly operation) only when necessary:

  • data changes imply execution of filters only when at least a filter is enabled
  • filter changes imply execution of filters even is no filter is enabled
  • filter dataset change events should not trigger a new filter execution!
File:
1 edited

Legend:

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

    r12987 r14206  
    3636                if (filter.equals(afm.getCurrentAutoFilter())) {
    3737                    afm.setCurrentAutoFilter(null);
    38                     MainApplication.getMap().filterDialog.getFilterModel().executeFilters();
     38                    MainApplication.getMap().filterDialog.getFilterModel().executeFilters(true);
    3939                } else {
    4040                    afm.setCurrentAutoFilter(filter);
Note: See TracChangeset for help on using the changeset viewer.