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
pull/2/merge
Dobrica Pavlinusic 12 years ago
parent 796b42cc36
commit 3a38e81d58

@ -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

Loading…
Cancel
Save