fix: exit filesearcher with home key

This commit is contained in:
Qingping Hou
2012-03-08 14:24:30 +08:00
parent 3474e56d30
commit e0f1564c7a

View File

@@ -265,7 +265,7 @@ function FileSearcher:choose(ypos, height, keywords)
openFile(file_full_path)
pagedirty = true
elseif ev.code == KEY_BACK then
elseif ev.code == KEY_BACK or ev.code == KEY_HOME then
return nil
end
end