From f8e7194be77eeb7672a3e7c9f7fab5dca89690c6 Mon Sep 17 00:00:00 2001 From: "Jonathan (JB) Belcher" Date: Tue, 12 May 2020 12:50:59 -0400 Subject: [PATCH] Change search hotkey so it does not replace the native find --- lib/app.tsx | 2 +- lib/dialogs/keybindings/index.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/app.tsx b/lib/app.tsx index a626ad8b1..d7f31f69d 100644 --- a/lib/app.tsx +++ b/lib/app.tsx @@ -210,7 +210,7 @@ export const App = connect( return false; } - if (cmdOrCtrl && !shiftKey && 'KeyF' === code) { + if (cmdOrCtrl && shiftKey && 'KeyS' === code) { this.props.focusSearchField(); event.stopPropagation(); diff --git a/lib/dialogs/keybindings/index.tsx b/lib/dialogs/keybindings/index.tsx index 7b6a447b0..84042dfc5 100644 --- a/lib/dialogs/keybindings/index.tsx +++ b/lib/dialogs/keybindings/index.tsx @@ -58,7 +58,9 @@ export class AboutDialog extends Component {
  • - Focus search field + + Focus search field +