Changeset 14475 in josm for trunk


Ignore:
Timestamp:
2018-12-01T15:24:22+01:00 (6 years ago)
Author:
GerdP
Message:

see #17040 Use PopupMenuHandler to reset all primitiveActions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java

    r14471 r14475  
    210210    public void destroy() {
    211211        recentRelationsAction.destroy();
    212         exportRelationFromFirstAction.setPrimitives(Collections.emptyList());
    213         exportRelationFromFirstToLayerAction.setPrimitives(Collections.emptyList());
    214         exportRelationFromLastAction.setPrimitives(Collections.emptyList());
    215         exportRelationFromLastToLayerAction.setPrimitives(Collections.emptyList());
     212        popupMenuHandler.setPrimitives(Collections.emptyList());
    216213        model.clear();
    217214        super.destroy();
Note: See TracChangeset for help on using the changeset viewer.