diff --git a/itemcontroller.lua b/itemcontroller.lua index 83b57ba..1d8e4ed 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -631,8 +631,8 @@ local PAGES = { end for _,line in ipairs(keyboardLines.lines) do - for i=1,#line do - local key = line:sub(i, 1) + for i=1,#line[1] do + local key = line[1]:sub(i, 1) keyboardList:findById(key):setOnClick(function() pageState.filter = pageState.filter..key reloadState()