added file chooser

This commit is contained in:
HW
2011-12-08 01:17:33 +01:00
parent eec48790e2
commit c869ee0a95
2 changed files with 23 additions and 6 deletions

View File

@@ -275,8 +275,8 @@ function PDFReader:inputloop()
self:goto(self.pageno - 1)
end
elseif ev.code == KEY_BACK then
settings.savesetting("last_page", self.pageno)
settings:close()
self.settings:savesetting("last_page", self.pageno)
self.settings:close()
return
elseif ev.code == KEY_VPLUS then
self:modify_gamma( 1.25 )