summaryrefslogtreecommitdiff
path: root/indra
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
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')
-rw-r--r--indra/newview/llpanelsnapshot.cpp2
-rw-r--r--indra/newview/skins/default/xui/en/floater_about_land.xml9
2 files changed, 1 insertions, 10 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);
diff --git a/indra/newview/skins/default/xui/en/floater_about_land.xml b/indra/newview/skins/default/xui/en/floater_about_land.xml
index eeac4ed25f..ebb05c23a5 100644
--- a/indra/newview/skins/default/xui/en/floater_about_land.xml
+++ b/indra/newview/skins/default/xui/en/floater_about_land.xml
@@ -247,15 +247,6 @@
width="360">
TestString PleaseIgnore
</text>
- <button
- follows="right"
- height="23"
- image_pressed="Info_Press"
- image_unselected="Info_Over"
- left_pad="3"
- name="info_btn_owner"
- top_delta="-2"
- width="16" />
<text
type="string"
length="1"