Ignore:
Timestamp:
2020-05-27T07:31:26+02:00 (4 years ago)
Author:
simon04
Message:

fix #19295 - Ctrl+H doesn't work when getting started screen is focused

File:
1 edited

Legend:

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

    r16426 r16502  
    2222
    2323import org.openstreetmap.josm.actions.DownloadPrimitiveAction;
     24import org.openstreetmap.josm.actions.HistoryInfoAction;
    2425import org.openstreetmap.josm.data.Version;
    2526import org.openstreetmap.josm.gui.animation.AnimationExtensionManager;
     
    135136        lg = new LinkGeneral("<html>" + STYLE + "<h1>" + "JOSM - " + tr("Java OpenStreetMap Editor")
    136137                + "</h1><h2 align=\"center\">" + tr("Downloading \"Message of the day\"") + "</h2></html>");
    137         // clear the build-in command ctrl+shift+O, ctrl+space because it is used as shortcut in JOSM
     138        // clear the build-in command ctrl+shift+O, ctrl+space, ctrl+H because it is used as shortcut in JOSM
    138139        lg.getInputMap(JComponent.WHEN_FOCUSED).put(DownloadPrimitiveAction.SHORTCUT.getKeyStroke(), "none");
    139140        lg.getInputMap(JComponent.WHEN_FOCUSED).put(MenuItemSearchDialog.Action.SHORTCUT.getKeyStroke(), "none");
     141        lg.getInputMap(JComponent.WHEN_FOCUSED).put(HistoryInfoAction.SHORTCUT.getKeyStroke(), "none");
    140142        lg.setTransferHandler(null);
    141143
Note: See TracChangeset for help on using the changeset viewer.