Skip to content

Commit c25cabe

Browse files
committed
#6040 Fix couple oversights
Button was supposed to be removed, getChild was supposed to turn into a find since element can be not there
1 parent 68b08e4 commit c25cabe

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

indra/newview/llpanelsnapshot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ void LLPanelSnapshot::updateImageQualityLevel()
198198
quality_lvl = LLTrans::getString("snapshot_quality_very_high");
199199
}
200200

201-
LLTextBox* quality_lvl_ctrl = getChild<LLTextBox>("image_quality_level");
201+
LLTextBox* quality_lvl_ctrl = findChild<LLTextBox>("image_quality_level");
202202
if (quality_lvl_ctrl)
203203
{
204204
quality_lvl_ctrl->setTextArg("[QLVL]", quality_lvl);

indra/newview/skins/default/xui/en/floater_about_land.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -247,15 +247,6 @@
247247
width="360">
248248
TestString PleaseIgnore
249249
</text>
250-
<button
251-
follows="right"
252-
height="23"
253-
image_pressed="Info_Press"
254-
image_unselected="Info_Over"
255-
left_pad="3"
256-
name="info_btn_owner"
257-
top_delta="-2"
258-
width="16" />
259250
<text
260251
type="string"
261252
length="1"

0 commit comments

Comments
 (0)