summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-02-08 21:24:22 +0100
committerGuru <alexandrgproductengine@lindenlab.com>2024-02-09 00:36:54 +0300
commit5bd9c86314bf8ae57899654320fe212416435bc8 (patch)
treebe2d5341674ee097cc118f3edc3cd1c644e3237a /indra
parenta2552a555669490dc2ca173a48989d1b30e62c56 (diff)
#746 BugSplat Crash: LLAccordionCtrlTab::showAndFocusHeader(873)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lloutfitgallery.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index e621c32911..65ec38a41d 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -1094,8 +1094,11 @@ bool LLOutfitGalleryItem::openOutfitsContent()
{
outfit_list->setSelectedOutfitByUUID(mUUID);
LLAccordionCtrlTab* tab = accordion->getSelectedTab();
- tab->showAndFocusHeader();
- return true;
+ if (tab)
+ {
+ tab->showAndFocusHeader();
+ return true;
+ }
}
}
}