mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
proper exit when pressing HOME, store settings etc
This commit is contained in:
@@ -100,7 +100,7 @@ if lfs.attributes(ARGV[optind], "mode") == "directory" then
|
||||
if pdffile ~= nil then
|
||||
if PDFReader:open(pdffile,"") then -- TODO: query for password
|
||||
PDFReader:goto(tonumber(PDFReader.settings:readsetting("last_page") or 1))
|
||||
PDFReader:inputloop()
|
||||
running = PDFReader:inputloop()
|
||||
end
|
||||
else
|
||||
running = false
|
||||
|
||||
Reference in New Issue
Block a user