2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

When user presses BACK in the filemanager it should NOT exit the program, only HOME should do so.

Otherwise too many times one accidentally exits from KPV.
This commit is contained in:
Tigran Aivazian 2012-09-19 12:25:15 +01:00
parent 35695e2fe0
commit c57c319656

View File

@ -532,7 +532,7 @@ function FileChooser:addAllCommands()
self.pagedirty = true
end
)
self.commands:add({KEY_BACK, KEY_HOME}, nil, "Back",
self.commands:add(KEY_HOME, nil, "Back",
"exit",
function(self)
return "break"