Skip to content

Commit e7eedde

Browse files
committed
Remap 'help and documentation' shortcut to F1 instead of H, which is the systemwide 'hide' key in MacOS
1 parent 946175b commit e7eedde

File tree

1 file changed

+1
-1
lines changed
  • java/core/src/main/java/com/adobe/aem/demomachine/gui

1 file changed

+1
-1
lines changed

java/core/src/main/java/com/adobe/aem/demomachine/gui/AemDemo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public void actionPerformed(ActionEvent e) {
188188
mnAbout.add(mntmUpdates);
189189

190190
JMenuItem mntmDoc = new JMenuItem("Help and Documentation");
191-
mntmDoc.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_H, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
191+
mntmDoc.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
192192
mntmDoc.addActionListener(new ActionListener() {
193193
public void actionPerformed(ActionEvent e) {
194194
AemDemoUtils.openWebpage(AemDemoUtils.getActualPropertyValue(defaultProperties, personalProperties, AemDemoConstants.OPTIONS_DOCUMENTATION));

0 commit comments

Comments
 (0)