Fix the load button on web tab of profiles not working, thanks to goldlatias for pointing this out.

This commit is contained in:
Inusaito Sayori
2013-08-08 21:52:36 -04:00
parent 7a2a7f531f
commit 5b4b2b1078
2 changed files with 3 additions and 3 deletions

View File

@@ -560,9 +560,9 @@ BOOL LLPanelAvatarWeb::postBuild(void)
url_edit->setKeystrokeCallback(boost::bind(&LLPanelAvatarWeb::onURLKeystroke,this,_1));
url_edit->setCommitCallback(boost::bind(&LLPanelAvatarWeb::onCommitURL,this,_2));
childSetAction("web_profile_help",onClickWebProfileHelp,this);
getChild<LLUICtrl>("load")->setCommitCallback(boost::bind(&LLPanelAvatarWeb::onCommitLoad, this, _2));
childSetControlName("auto_load","AutoLoadWebProfiles");
childSetAction("web_profile_help",onClickWebProfileHelp,this);
mWebBrowser = getChild<LLMediaCtrl>("profile_html");
mWebBrowser->addObserver(this);

View File

@@ -209,7 +209,7 @@
mouse_opaque="true" name="web_profile_help" width="18" />
<check_box bottom_delta="0" follows="right|top" font="SansSerifSmall" height="16"
initial_value="false" label="Automatically load web profiles"
left_delta="90" mouse_opaque="true" name="auto_load"
left_delta="90" mouse_opaque="true" name="auto_load" control_name="AutoLoadWebProfiles"
tool_tip="Automatically load ALL profile webpages without asking first."
width="127" />
<web_browser border_visible="false" bottom="-444" follows="top|left|right" height="400"