1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:53:53 +00:00

Merge branch 'trade' into 'master'

Fix regression #5666

Closes #5666

See merge request OpenMW/openmw!382
This commit is contained in:
psi29a 2020-10-27 18:35:48 +00:00
commit 67e7fbb798

View file

@ -519,6 +519,9 @@ namespace MWGui
void TradeWindow::onClose()
{
// Make sure the window was actually closed and not temporarily hidden.
if (MWBase::Environment::get().getWindowManager()->containsMode(GM_Barter))
return;
resetReference();
}
}