Skip to content
Snippets Groups Projects
Commit 28ec4f3a authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Annnnd another

parent 31f066bb
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -91,7 +91,9 @@ void ALPanelAOMini::updateSetList() ...@@ -91,7 +91,9 @@ void ALPanelAOMini::updateSetList()
void ALPanelAOMini::onSetChanged(const std::string& set_name) 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)); mSetList->selectByValue(LLSD(set_name));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment