mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +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
@ -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