mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Fix regression #5666
This commit is contained in:
parent
74dfc09e2d
commit
9763995892
@ -519,6 +519,9 @@ namespace MWGui
|
|||||||
|
|
||||||
void TradeWindow::onClose()
|
void TradeWindow::onClose()
|
||||||
{
|
{
|
||||||
|
// Make sure the window was actually closed and not temporarily hidden.
|
||||||
|
if (MWBase::Environment::get().getWindowManager()->containsMode(GM_Barter))
|
||||||
|
return;
|
||||||
resetReference();
|
resetReference();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user