Ignore:
Timestamp:
2020-03-21T22:44:38+01:00 (6 years ago)
Author:
simon04
Message:

fix #18692 - Show Duplicate relation in context menu

File:
1 edited

Legend:

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

    r14685 r16189  
    1010import org.openstreetmap.josm.actions.relation.DownloadMembersAction;
    1111import org.openstreetmap.josm.actions.relation.DownloadSelectedIncompleteMembersAction;
     12import org.openstreetmap.josm.actions.relation.DuplicateRelationAction;
    1213import org.openstreetmap.josm.actions.relation.EditRelationAction;
    1314import org.openstreetmap.josm.actions.relation.SelectInRelationListAction;
     
    3839        }
    3940
     41        if (!exclude.contains(DuplicateRelationAction.class)) {
     42            menu.addAction(new DuplicateRelationAction());
     43        }
     44
    4045        if (!exclude.contains(DeleteRelationsAction.class)) {
    4146            menu.addAction(new DeleteRelationsAction());
Note: See TracChangeset for help on using the changeset viewer.