mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix: typo in selectmenu.lua
This commit is contained in:
@@ -145,11 +145,11 @@ function SelectMenu:addAllCommands()
|
||||
end
|
||||
end
|
||||
)
|
||||
local KEY_Q_to_E = {}
|
||||
local KEY_Q_to_P = {}
|
||||
for i = KEY_Q, KEY_P do
|
||||
table.insert(KEY_Q_to_E, Keydef:new(i, nil, ""))
|
||||
table.insert(KEY_Q_to_P, Keydef:new(i, nil, ""))
|
||||
end
|
||||
self.commands:addGroup("Q to E", KEY_Q_to_E,
|
||||
self.commands:addGroup("Q to P", KEY_Q_to_P,
|
||||
"Select menu item with Q to E key as shortcut",
|
||||
function(sm, keydef)
|
||||
sm.selected_item = sm:getItemIndexByShortCut(
|
||||
|
||||
Reference in New Issue
Block a user