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);