mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Fix regression #5666
This commit is contained in:
parent
74dfc09e2d
commit
9763995892
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user