Compare commits

..

No commits in common. "ccf640ddaf0ea94800431472f37c0c4e0c75ad97" and "394f30251a023ef5c74e4e3b56c1e4728950b66f" have entirely different histories.

View File

@ -299,14 +299,10 @@ void UMenuStack::LastMenuClosed(bool bWasCancel)
void UMenuStack::CloseAll(bool bWasCancel)
{
// We don't go through normal pop sequence, this is a shot circuit
for (int i = Menus.Num() - 1; i >= 0; --i)
{
UMenuBase* Menu = Menus[i];
if (IsValid(Menu))
{
Menus[i]->RemovedFromStack(this);
}
}
for (int i = Menus.Num() - 1; i >= 0; --i)
{
Menus[i]->RemovedFromStack(this);
}
Menus.Empty();
LastMenuClosed(bWasCancel);
}