Skip to content

Commit

Permalink
Replace Ctrl+Alt+C shortcut by Escape key (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
6c65726f79 committed Mar 2, 2022
1 parent 79edefb commit 148fa6e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,14 +256,15 @@ In this case, the remote server IP is `192.168.1.1`, and the folder `/mnt/ssd` m
| Alt+N | New server |
| Alt+I | Server information |
| Alt+C | Server configuration |
| Alt+A | About |
| Alt+[1-9] | Select filter |
| Ctrl+Alt+S | Search |
| Ctrl+Alt+T | Toggle side menu |
| Ctrl+RightArrow | Next tab |
| Ctrl+LeftArrow | Previous tab |
| Shift+Click | Select torrent |
| Ctrl+A | Select all |
| Ctrl+Alt+C | Cancel selection |
| Alt+A | About |
| Esc | Cancel selection |

# Build

Expand Down
2 changes: 1 addition & 1 deletion electron/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ function getMainMenu(): Electron.MenuItemConstructorOptions[] {
},
{
label: 'Cancel selection',
accelerator: 'CmdOrCtrl+Alt+C',
accelerator: 'Escape',
registerAccelerator: false,
click(): void {
shortcutsHandler('clear-selection');
Expand Down
2 changes: 1 addition & 1 deletion src/services/Shortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const Shortcuts = {
case "ctrl,a":
this.call("select-all");
break;
case "ctrl,alt,c":
case "Escape":
this.call("clear-selection");
break;
case "alt,a":
Expand Down

0 comments on commit 148fa6e

Please sign in to comment.