Fix Children reload order
This commit is contained in:
parent
86e251152c
commit
3943bbcc19
@ -156,10 +156,7 @@ function Children:with(elementType)
|
|||||||
-- Reload child windows
|
-- Reload child windows
|
||||||
local win = self:_getWindow()
|
local win = self:_getWindow()
|
||||||
for _,child in self:_iterateChildren() do
|
for _,child in self:_iterateChildren() do
|
||||||
if child:_getParent() ~= win then
|
|
||||||
child:setParent(win)
|
child:setParent(win)
|
||||||
child:reload()
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user