Changeset 12373 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ChangesetDialog.java
- Timestamp:
- 2017-06-09T21:31:00+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ChangesetDialog.java
r12297 r12373 43 43 import org.openstreetmap.josm.data.osm.event.DatasetEventManager; 44 44 import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode; 45 import org.openstreetmap.josm.data.osm.event.SelectionEventManager; 45 46 import org.openstreetmap.josm.gui.SideButton; 46 47 import org.openstreetmap.josm.gui.dialogs.changeset.ChangesetCacheManager; … … 113 114 // let the model for changesets in the current selection listen to various events 114 115 ChangesetCache.getInstance().addChangesetCacheListener(inSelectionModel); 115 Main.getLayerManager().addActiveLayerChangeListener(inSelectionModel); 116 DataSet.addSelectionListener(inSelectionModel); 116 SelectionEventManager.getInstance().addSelectionListener(inSelectionModel); 117 117 118 118 // let the model for changesets in the current layer listen to various … … 140 140 // remove the list model for the changesets in the current selection as 141 141 // listener 142 // 143 Main.getLayerManager().removeActiveLayerChangeListener(inSelectionModel); 144 DataSet.removeSelectionListener(inSelectionModel); 142 SelectionEventManager.getInstance().removeSelectionListener(inSelectionModel); 143 ChangesetCache.getInstance().removeChangesetCacheListener(inSelectionModel); 145 144 } 146 145
Note:
See TracChangeset
for help on using the changeset viewer.
