mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add fix KEY_LPG{BCK,FWD} listening for filesearcher
This commit is contained in:
@@ -134,7 +134,7 @@ function FileSearcher:addAllCommands()
|
||||
self:nextItem()
|
||||
end
|
||||
)
|
||||
self.commands:add(KEY_PGFWD, nil, ">",
|
||||
self.commands:add({KEY_PGFWD, KEY_LPGFWD}, nil, ">",
|
||||
"next page",
|
||||
function(self)
|
||||
if self.page < (self.items / self.perpage) then
|
||||
@@ -149,7 +149,7 @@ function FileSearcher:addAllCommands()
|
||||
end
|
||||
end
|
||||
)
|
||||
self.commands:add(KEY_PGBCK, nil, "<",
|
||||
self.commands:add({KEY_PGBCK, KEY_LPGBCK}, nil, "<",
|
||||
"previous page",
|
||||
function(self)
|
||||
if self.page > 1 then
|
||||
|
||||
Reference in New Issue
Block a user