Ticket #15670: josm-generate-DataChangedEvent-if-action-in-FilterDialog-modified-disabled-or-hidden-state-of-objects.patch
File josm-generate-DataChangedEvent-if-action-in-FilterDialog-modified-disabled-or-hidden-state-of-objects.patch, 1.2 KB (added by , 7 years ago) |
---|
-
src/org/openstreetmap/josm/data/osm/DataSet.java
1209 1209 fireEvent(new PrimitiveFlagsChangedEvent(this, primitive)); 1210 1210 } 1211 1211 1212 void fireFilterChanged() { 1213 fireEvent(new DataChangedEvent(this)); 1214 } 1215 1212 1216 void fireHighlightingChanged() { 1213 1217 HighlightUpdateListener.HighlightUpdateEvent e = new HighlightUpdateListener.HighlightUpdateEvent(this); 1214 1218 highlightUpdateListeners.fireEvent(l -> l.highlightUpdated(e)); -
src/org/openstreetmap/josm/data/osm/FilterModel.java
129 129 } 130 130 disabledCount -= disabledAndHiddenCount; 131 131 } finally { 132 if (changed) { 133 ds.fireFilterChanged(); 134 } 132 135 ds.endUpdate(); 133 136 } 134 137