From b3e692679280ba4811e32442a2cf774a62da1c62 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sun, 14 Nov 2021 12:28:19 -0500 Subject: [PATCH] Fix crash in mini ao panel --- indra/newview/alpanelaomini.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/alpanelaomini.cpp b/indra/newview/alpanelaomini.cpp index d4b836d188c..ce04389b4d4 100644 --- a/indra/newview/alpanelaomini.cpp +++ b/indra/newview/alpanelaomini.cpp @@ -91,7 +91,10 @@ void ALPanelAOMini::updateSetList() void ALPanelAOMini::onSetChanged(const std::string& set_name) { - mSetList->selectByValue(LLSD(set_name)); + if (!set_name.empty()) + { + mSetList->selectByValue(LLSD(set_name)); + } } //////////////////////////////////// -- GitLab