diff --git a/apps/openmw/mwgui/settingswindow.cpp b/apps/openmw/mwgui/settingswindow.cpp index d41d9cc4f0..2abea56064 100644 --- a/apps/openmw/mwgui/settingswindow.cpp +++ b/apps/openmw/mwgui/settingswindow.cpp @@ -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); }