Changeset 23077 in osm for applications/editors/josm
- Timestamp:
- 2010-09-08T19:34:22+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/dialogs/SmpDialogAction.java
r23074 r23077 228 228 public void CloseDialog() { 229 229 onode = null; 230 DataSet.selListeners.remove(SmpListener); 231 // DataSet.removeSelectionListener(SmpListener); 230 DataSet.removeSelectionListener(SmpListener); 232 231 Selection = null; 233 232 … … 275 274 // siehe org.openstreetmap.josm.plugins.osb -> OsbLayer.java 276 275 // Einhängen des Listeners in die Eventqueue von josm 277 DataSet.selListeners.add(SmpListener); 278 // DataSet.addSelectionListener(SmpListener); 276 DataSet.addSelectionListener(SmpListener); 279 277 } 280 278 … … 487 485 PicRebuild(); 488 486 // Deaktivierung des Listeners 489 DataSet.selListeners.remove(SmpListener); 490 // DataSet.removeSelectionListener(SmpListener); 487 DataSet.removeSelectionListener(SmpListener); 491 488 Selection = null; 492 489 … … 1339 1336 PicRebuild(); 1340 1337 // Deaktivierung des Listeners 1341 DataSet.selListeners.remove(SmpListener); 1342 // DataSet.removeSelectionListener(SmpListener); 1338 DataSet.removeSelectionListener(SmpListener); 1343 1339 Selection = null; 1344 1340 SmpItem.setEnabled(true);
Note:
See TracChangeset
for help on using the changeset viewer.