mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Fix an exception during reload when container windows is active.
It is a regression in the animated containers feature.
This commit is contained in:
parent
d37cb871d6
commit
27737d4258
@ -161,7 +161,8 @@ namespace MWGui
|
||||
if (mModel)
|
||||
mModel->onClose();
|
||||
|
||||
MWBase::Environment::get().getMechanicsManager()->onClose(mPtr);
|
||||
if (!mPtr.isEmpty())
|
||||
MWBase::Environment::get().getMechanicsManager()->onClose(mPtr);
|
||||
}
|
||||
|
||||
void ContainerWindow::onCloseButtonClicked(MyGUI::Widget* _sender)
|
||||
|
Loading…
x
Reference in New Issue
Block a user