mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-12 17:13:07 +00:00
Merge branch 'trade' into 'master'
Fix regression #5666 Closes #5666 See merge request OpenMW/openmw!382
This commit is contained in:
commit
67e7fbb798
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue