Changeset 14471 in josm
- Timestamp:
- 2018-12-01T11:40:47+01:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/RecentRelationsAction.java
r14248 r14471 112 112 public void destroy() { 113 113 MainApplication.unregisterActionShortcut(launchAction, shortcut); 114 UndoRedoHandler.getInstance().removeCommandQueueListener(this); 114 115 super.destroy(); 115 116 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
r14470 r14471 46 46 import org.openstreetmap.josm.actions.relation.SelectMembersAction; 47 47 import org.openstreetmap.josm.actions.relation.SelectRelationAction; 48 import org.openstreetmap.josm.data.UndoRedoHandler;49 48 import org.openstreetmap.josm.data.osm.DataSet; 50 49 import org.openstreetmap.josm.data.osm.DefaultNameFormatter; … … 210 209 @Override 211 210 public void destroy() { 212 UndoRedoHandler.getInstance().removeCommandQueueListener(recentRelationsAction);213 211 recentRelationsAction.destroy(); 212 exportRelationFromFirstAction.setPrimitives(Collections.emptyList()); 213 exportRelationFromFirstToLayerAction.setPrimitives(Collections.emptyList()); 214 exportRelationFromLastAction.setPrimitives(Collections.emptyList()); 215 exportRelationFromLastToLayerAction.setPrimitives(Collections.emptyList()); 214 216 model.clear(); 215 217 super.destroy();
Note:
See TracChangeset
for help on using the changeset viewer.