Skip to content

Commit

Permalink
fix: Changed keyboard shortcuts hotkey
Browse files Browse the repository at this point in the history
  • Loading branch information
mananjadhav committed Jan 12, 2022
1 parent b5d2e8b commit d9b4a98
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 d9b4a98

Please sign in to comment.