mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 07:45:39 +00:00
Set Element state in Element::create
This commit is contained in:
parent
61d01f3b62
commit
0f60052bb8
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue