diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-04-25 23:28:48 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-04-26 01:58:50 +0300 |
commit | 7719d54f4e649f2731a9d4248f2ca5f61da1320e (patch) | |
tree | fe4acbcd5ccb18390aef386c8774ae0de4424039 /indra/llui | |
parent | bc29431ab2f500ba588edaeee34ba2328db199aa (diff) |
viewer#1308 LLFloaterView::restoreAll Crash
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llfloater.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 53a087eaf2..b3ccc47786 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -2476,7 +2476,8 @@ void LLFloaterView::reshape(S32 width, S32 height, BOOL called_from_parent) void LLFloaterView::restoreAll() { // make sure all subwindows aren't minimized - for (auto child : *getChildList()) + child_list_t child_list = *(getChildList()); + for (LLView* child : child_list) { LLFloater* floaterp = dynamic_cast<LLFloater*>(child); if (floaterp) |