1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-05-09 00:11:25 +00:00

Fixes crash on quickload from the container menu (bug #4239)

This commit is contained in:
Andrei Kortunov 2017-12-03 21:49:13 +04:00
parent 55db3c2712
commit 8decd35607

View file

@ -154,7 +154,8 @@ namespace MWGui
{ {
WindowBase::onClose(); WindowBase::onClose();
mModel->onClose(); if (mModel)
mModel->onClose();
} }
void ContainerWindow::onCloseButtonClicked(MyGUI::Widget* _sender) void ContainerWindow::onCloseButtonClicked(MyGUI::Widget* _sender)