summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-05-22 14:58:13 +0300
committerGitHub <noreply@github.com>2025-05-22 14:58:13 +0300
commit9d3a03e6da9604dc3d76ed0649c06c58beb22771 (patch)
tree00da23d4d374c9f97cac2a56af3338099fd367a7
parent6a92f8777de3e5031509af7dca44d334881faf47 (diff)
#4118 Allow Bulk Upload to initialize on Bulk Upload All option
-rw-r--r--indra/newview/llmaterialeditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llmaterialeditor.cpp b/indra/newview/llmaterialeditor.cpp
index 28160177f6..378f5fdf91 100644
--- a/indra/newview/llmaterialeditor.cpp
+++ b/indra/newview/llmaterialeditor.cpp
@@ -137,7 +137,8 @@ LLFloaterComboOptions* LLFloaterComboOptions::showUI(
{
combo_picker->mComboOptions->addSimpleElement(*iter);
}
- combo_picker->mComboOptions->selectFirstItem();
+ // select 'Bulk Upload All' option
+ combo_picker->mComboOptions->selectNthItem((S32)options.size() - 1);
combo_picker->openFloater(LLSD(title));
combo_picker->setFocus(true);