Ignore:
Timestamp:
2020-05-28T14:46:30+02:00 (4 years ago)
Author:
GerdP
Message:

fix #19275: Relation list panel: Direct option for history viewer
Apply 19275.2c.patch which enables Ctrl+H in RelationListDialog

File:
1 edited

Legend:

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

    r16438 r16512  
    3535
    3636import org.openstreetmap.josm.actions.ExpertToggleAction;
     37import org.openstreetmap.josm.actions.HistoryInfoAction;
    3738import org.openstreetmap.josm.actions.relation.AddSelectionToRelations;
    3839import org.openstreetmap.josm.actions.relation.DeleteRelationsAction;
     
    199200        displaylist.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_C, PlatformManager.getPlatform().getMenuShortcutKeyMaskEx()), "copy");
    200201
     202        HistoryInfoAction historyAction = MainApplication.getMenu().historyinfo;
     203        displaylist.getActionMap().put("historyAction", historyAction);
     204        displaylist.getInputMap().put(historyAction.getShortcut().getKeyStroke(), "historyAction");
     205
    201206        updateActionsRelationLists();
    202207    }
Note: See TracChangeset for help on using the changeset viewer.