remove filechooser

reviewable/pr6416/r1
Martín Fernández 4 years ago
parent 9bee4e495a
commit 94c0d7854f

@ -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

Loading…
Cancel
Save