Skip to content
Snippets Groups Projects

FLN-about-land-infobar-text Added a click listener to the text

Merged Fallen requested to merge afallenhope/viewer:FLN-about-land-infobartext into next
Files
2
@@ -149,6 +149,7 @@ BOOL LLPanelTopInfoBar::postBuild()
mInfoBtn->setToolTip(LLTrans::getString("LocationCtrlInfoBtnTooltip"));
mParcelInfoText = getChild<LLTextBox>("parcel_info_text");
mParcelInfoText->setClickedCallback(boost::bind(&LLPanelTopInfoBar::onParcelInfoTextClicked, this));
mDamageText = getChild<LLTextBox>("damage_text");
initParcelIcons();
@@ -498,3 +499,14 @@ void LLPanelTopInfoBar::onInfoButtonClicked()
LLFloaterSidePanelContainer::showPanel("places", LLSD().with("type", "agent"));
}
void LLPanelTopInfoBar::onParcelInfoTextClicked()
{
// [RLVa:KB] - Checked: 2012-02-08 (RLVa-1.4.5) | Added: RLVa-1.4.5
if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC))
return;
// [/RLVa:KB]
LLFloaterReg::showInstance("about_land");
}
Loading