From 5f8cf98b8ac4c63a0988cff790e6bb3c7af7f122 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sat, 12 Oct 2024 17:59:38 +0200 Subject: [PATCH] Read keyboard line from field --- itemcontroller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()