Fix XUI parser warning "LLView::getChild: Making dummy class LLView named "Only Allow" in Estate"
parent
70cb468496
commit
de41e434d1
|
|
@ -2869,14 +2869,16 @@ void LLPanelLandAccess::refresh_ui()
|
|||
{
|
||||
getChildView("limit_age_verified")->setEnabled(can_manage_allowed);
|
||||
}
|
||||
if (override)
|
||||
{
|
||||
getChildView("Only Allow")->setToolTip(getString("estate_override"));
|
||||
}
|
||||
else
|
||||
{
|
||||
getChildView("Only Allow")->setToolTip(std::string());
|
||||
}
|
||||
// <FS:Ansariel> Does not exist as of 16-06-2017
|
||||
//if (override)
|
||||
//{
|
||||
// getChildView("Only Allow")->setToolTip(getString("estate_override"));
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// getChildView("Only Allow")->setToolTip(std::string());
|
||||
//}
|
||||
// </FS:Ansariel>
|
||||
getChildView("PassCheck")->setEnabled(FALSE);
|
||||
getChildView("pass_combo")->setEnabled(FALSE);
|
||||
getChildView("AccessList")->setEnabled(FALSE);
|
||||
|
|
|
|||
|
|
@ -2488,7 +2488,8 @@ void LLPanelEstateInfo::refresh()
|
|||
// Disable access restriction controls if they make no sense.
|
||||
bool public_access = ("estate_public_access" == getChild<LLUICtrl>("externally_visible_radio")->getValue().asString());
|
||||
|
||||
getChildView("Only Allow")->setEnabled(public_access);
|
||||
// <FS:Ansariel> Does not exist as of 16-06-2017
|
||||
// getChildView("Only Allow")->setEnabled(public_access);
|
||||
getChildView("limit_payment")->setEnabled(public_access);
|
||||
getChildView("limit_age_verified")->setEnabled(public_access);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue