From 94c0d7854fb0cc336c18f08e3c3d0a16f485bc0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Tue, 21 Jul 2020 00:49:27 +0200 Subject: [PATCH] remove filechooser --- frontend/device/input.lua | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/frontend/device/input.lua b/frontend/device/input.lua index 5afd660c6..f605d1b5b 100644 --- a/frontend/device/input.lua +++ b/frontend/device/input.lua @@ -351,19 +351,6 @@ function Input:handleKeyBoardEv(ev) end end - local FileChooser = self.file_chooser - if FileChooser and self:isEvKeyPress(ev) - and self.modifiers["Ctrl"] and keycode == "O" then - logger.dbg("Opening FileChooser:", FileChooser.type) - local file_path = FileChooser:open() - - if file_path then - local ReaderUI = require("apps/reader/readerui") - ReaderUI:doShowReader(file_path) - end - return - end - -- quit on Alt + F4 -- this is also emitted by the close event in SDL if self:isEvKeyPress(ev) and self.modifiers["Alt"] and keycode == "F4" then