- Timestamp:
- 2019-03-15T09:14:57+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
r14709 r14886 51 51 import org.openstreetmap.josm.data.osm.Relation; 52 52 import org.openstreetmap.josm.data.osm.event.AbstractDatasetChangedEvent; 53 import org.openstreetmap.josm.data.osm.event.AbstractDatasetChangedEvent.DatasetEventType; 53 54 import org.openstreetmap.josm.data.osm.event.DataChangedEvent; 54 55 import org.openstreetmap.josm.data.osm.event.DataSetListener; … … 737 738 @Override 738 739 public void otherDatasetChange(AbstractDatasetChangedEvent event) { 739 /* ignore */ 740 if (event.getType() == DatasetEventType.PRIMITIVE_FLAGS_CHANGED 741 && event.getPrimitives().stream().anyMatch(Relation.class::isInstance)) { 742 initFromData(MainApplication.getLayerManager().getActiveData()); 743 } 740 744 } 741 745
Note:
See TracChangeset
for help on using the changeset viewer.