Fix the load button on web tab of profiles not working, thanks to goldlatias for pointing this out.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user