mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
misc cleanup
This commit is contained in:
@@ -76,7 +76,7 @@ end
|
||||
|
||||
function Widget:addChild (data)
|
||||
local layout = self.layout
|
||||
local child = Widget(layout, data)
|
||||
local child = Widget(layout, data or {})
|
||||
|
||||
table.insert(self.children, child)
|
||||
child.parent = self
|
||||
|
||||
Reference in New Issue
Block a user