proper exit when pressing HOME, store settings etc
This commit is contained in:
1 parent
aa51a0c7db
commit
4f46f9fa7a
2 files changed
+18
-12
No files matched your search
+1
-1
@@ -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