Fix return value from onClick
This commit is contained in:
parent
c6adf1cd09
commit
db1e3916bc
@ -112,7 +112,7 @@ local function itemList(groups, wBudget, onClick)
|
||||
},
|
||||
vertical = false,
|
||||
onClick = onClick and function(element, x, y, source)
|
||||
onClick(element, x, y, source, group)
|
||||
return onClick(element, x, y, source, group)
|
||||
end or nil
|
||||
}
|
||||
table.insert(entries, list)
|
||||
|
Loading…
x
Reference in New Issue
Block a user