Skip to content

Commit

Permalink
Merge pull request #7162 from mananjadhav/fix/change-keyboard-shortcu…
Browse files Browse the repository at this point in the history
…ts-hotkey

fix: Changed keyboard shortcuts hotkey
  • Loading branch information
puneetlath authored Jan 12, 2022
2 parents f3b3bfe + d9b4a98 commit 3c14145
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion desktop/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const updateAppMenuItem = new MenuItem({
// Defines the system-level menu item for opening keyboard shortcuts modal
const keyboardShortcutsMenu = new MenuItem({
label: 'View Keyboard Shortcuts',
accelerator: 'CmdOrCtrl+?',
accelerator: 'CmdOrCtrl+I',
});

// Actual auto-update listeners
Expand Down
2 changes: 1 addition & 1 deletion src/CONST.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const CONST = {
},
SHORTCUT_MODAL: {
descriptionKey: 'openShortcutDialog',
shortcutKey: '?',
shortcutKey: 'I',
modifiers: ['CTRL'],
},
ESCAPE: {
Expand Down
2 changes: 0 additions & 2 deletions src/libs/KeyboardShortcut/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ function getKeyCode(key) {
return 13;
case 'Escape':
return 27;
case '?':
return 191;
default:
return key.charCodeAt(0);
}
Expand Down

0 comments on commit 3c14145

Please sign in to comment.