Fix XUI parser warnings:

* LLFloaterMarketplace::postBuild calls parent method which already tries to find the webbrowser control with a different name and adds itself as observer
* Incorrect attribute name "tooltip" in panel_preferences_move.xml
master
Ansariel 2025-10-31 16:39:17 +01:00 committed by Andrey Kleshchev
parent d23379939c
commit 11ccdb5e32
3 changed files with 5 additions and 5 deletions

View File

@ -46,9 +46,9 @@ void LLFloaterMarketplace::onClose(bool app_quitting)
bool LLFloaterMarketplace::postBuild()
{
LLFloaterWebContent::postBuild();
mWebBrowser = getChild<LLMediaCtrl>("marketplace_contents");
mWebBrowser->addObserver(this);
if (!LLFloaterWebContent::postBuild())
return false;
mWebBrowser->setErrorPageURL(gSavedSettings.getString("GenericErrorPageURL"));
std::string url = gSavedSettings.getString("MarketplaceURL");
mWebBrowser->navigateTo(url, HTTP_CONTENT_TEXT_HTML);

View File

@ -169,7 +169,7 @@
follows="all"
layout="topleft"
left="0"
name="marketplace_contents"
name="webbrowser"
top="0"/>
</layout_panel>
<layout_panel name="status_bar"

View File

@ -214,7 +214,7 @@
left_pad="10"
top_delta="-6"
name="mouse_warp_combo"
tooltip="Controls warping of the mouse to the center of the screen during alt-zoom and mouse look."
tool_tip="Controls warping of the mouse to the center of the screen during alt-zoom and mouse look."
width="200">
<combo_box.item
label="Automatic"