From 28ec4f3a7f128552e8912184b525580afd1e34c8 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Sun, 9 Apr 2023 16:09:20 -0400
Subject: [PATCH] Annnnd another

---
 indra/newview/alpanelaomini.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/indra/newview/alpanelaomini.cpp b/indra/newview/alpanelaomini.cpp
index ce04389b4d4..d238ccef1f6 100644
--- a/indra/newview/alpanelaomini.cpp
+++ b/indra/newview/alpanelaomini.cpp
@@ -91,7 +91,9 @@ void ALPanelAOMini::updateSetList()
 
 void ALPanelAOMini::onSetChanged(const std::string& set_name)
 {
-	if (!set_name.empty())
+	LLSD curr_selected_set = mSetList->getSelectedValue();
+
+	if (!set_name.empty() && set_name != curr_selected_set.asString())
 	{
 		mSetList->selectByValue(LLSD(set_name));
 	}
-- 
GitLab