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

pull/353/head
Andrei Kortunov 7 years ago
parent 55db3c2712
commit 8decd35607

@ -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)

Loading…
Cancel
Save