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:
1 parent
796b42cc36
commit
3a38e81d58
1 file changed
+1
-1
+1
-1
@@ -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