mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 03:54:40 +00:00
Fix warning
This commit is contained in:
parent
1455aa3e02
commit
db9e734a6a
@ -777,7 +777,7 @@ namespace MWGui
|
||||
mScriptChild = mScriptView->getChildCount() > 0 ? mScriptView->getChildAt(0) : nullptr;
|
||||
MyGUI::IntSize canvasSize = mScriptChild ? mScriptChild->getSize() : MyGUI::IntSize();
|
||||
if (mScriptChild)
|
||||
mScriptChild->setVisible(mScriptView->isVisible());
|
||||
mScriptChild->setVisible(mScriptView->getVisible());
|
||||
mScriptView->setCanvasSize(canvasSize);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user