mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
Set Element state in Element::create
This commit is contained in:
parent
61d01f3b62
commit
0f60052bb8
@ -278,6 +278,7 @@ namespace LuaUi
|
||||
mRoot = createWidget(layout(), true, depth);
|
||||
mLayer = setLayer(mRoot, layout());
|
||||
updateRootCoord(mRoot);
|
||||
mState = Created;
|
||||
}
|
||||
}
|
||||
|
||||
@ -304,8 +305,8 @@ namespace LuaUi
|
||||
}
|
||||
mLayer = setLayer(mRoot, layout());
|
||||
updateRootCoord(mRoot);
|
||||
mState = Created;
|
||||
}
|
||||
mState = Created;
|
||||
}
|
||||
|
||||
void Element::destroy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user