mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
exit from filechooser on BACK and HOME
This makes it easy to exit completly from document with HOME+HOME which is much easier and intuitive than HOME+BACK
This commit is contained in:
@@ -239,7 +239,7 @@ function FileChooser:choose(ypos, height)
|
||||
return self.path.."/"..self.files[perpage*(self.page-1)+self.current - #self.dirs]
|
||||
end
|
||||
pagedirty = true
|
||||
elseif ev.code == KEY_BACK then
|
||||
elseif ev.code == KEY_BACK or ev.code == KEY_HOME then
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user