summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelsnapshot.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-08-08 13:30:27 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-08-10 17:06:13 +0300
commit8ec9cf9cf17fbf14698116dbd51d688253adf299 (patch)
tree54a36c441a0db05433d0fc70f7a3743f4f718d97 /indra/newview/llpanelsnapshot.cpp
parent68b08e47e98337c48705bfbd9b1f675ec3045bf3 (diff)
#6040 Fix couple oversights
Button was supposed to be removed, getChild was supposed to turn into a find since element can be not there
Diffstat (limited to 'indra/newview/llpanelsnapshot.cpp')
-rw-r--r--indra/newview/llpanelsnapshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelsnapshot.cpp b/indra/newview/llpanelsnapshot.cpp
index d76f19617f..daf1986522 100644
--- a/indra/newview/llpanelsnapshot.cpp
+++ b/indra/newview/llpanelsnapshot.cpp
@@ -198,7 +198,7 @@ void LLPanelSnapshot::updateImageQualityLevel()
quality_lvl = LLTrans::getString("snapshot_quality_very_high");
}
- LLTextBox* quality_lvl_ctrl = getChild<LLTextBox>("image_quality_level");
+ LLTextBox* quality_lvl_ctrl = findChild<LLTextBox>("image_quality_level");
if (quality_lvl_ctrl)
{
quality_lvl_ctrl->setTextArg("[QLVL]", quality_lvl);