mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 13:09:42 +00:00
Hide modal window before deleting it (Fixes #4168)
This commit is contained in:
parent
8b19a8b7f6
commit
2a0b2c4e24
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ namespace MWGui
|
||||||
if (mInterMessageBoxe != NULL)
|
if (mInterMessageBoxe != NULL)
|
||||||
{
|
{
|
||||||
std::cerr << "Warning: replacing an interactive message box that was not answered yet" << std::endl;
|
std::cerr << "Warning: replacing an interactive message box that was not answered yet" << std::endl;
|
||||||
|
mInterMessageBoxe->setVisible(false);
|
||||||
delete mInterMessageBoxe;
|
delete mInterMessageBoxe;
|
||||||
mInterMessageBoxe = NULL;
|
mInterMessageBoxe = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue