diff --git a/itemcontroller.lua b/itemcontroller.lua index 56d49f6..0e5f845 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -165,8 +165,8 @@ local PAGES = { table.insert(subset, found[i]) end - local listResult = itemList(subset, state.width, function(group, x, y, source) - print("Clicked: "..group:getDisplayName()) + local listResult = itemList(subset, state.width, function(element, x, y, source) + print("Clicked: "..x.." "..y) end) listResult:setParent(state.monitor)