open file keyboard shortcut is now handled by a main menu accelerator

pull/2/head
Michael Ochmann 3 years ago
parent e6449e78dd
commit 5022bdf318
  1. 5
      src/ui/src/components/KeyboardControl.js

@ -19,11 +19,6 @@ const KeyboardControl = ({openFile, mode, setMode, deck, setShowTips}) => {
const keyHandler = event => {
switch(event.key) {
case "o":
if (!event.metaKey && !event.ctrlKey)
return;
openFile();
break;
case "Escape":
setShowTips(false);
break;

Loading…
Cancel
Save