Disable running multiple viewers warning

meow-7.2.2
Ansariel 2018-11-14 19:17:13 +01:00
parent 467bde0e52
commit ceb7526c4d
1 changed files with 6 additions and 4 deletions

View File

@ -3663,10 +3663,12 @@ BOOL LLPanelPreference::postBuild()
{
getChild<LLCheckBoxCtrl>("voice_call_friends_only_check")->setCommitCallback(boost::bind(&showFriendsOnlyWarning, _1, _2));
}
if (hasChild("allow_multiple_viewer_check", TRUE))
{
getChild<LLCheckBoxCtrl>("allow_multiple_viewer_check")->setCommitCallback(boost::bind(&showMultipleViewersWarning, _1, _2));
}
// <FS:Ansariel> Disable running multiple viewers warning
//if (hasChild("allow_multiple_viewer_check", TRUE))
//{
// getChild<LLCheckBoxCtrl>("allow_multiple_viewer_check")->setCommitCallback(boost::bind(&showMultipleViewersWarning, _1, _2));
//}
// </FS:Ansariel>
if (hasChild("favorites_on_login_check", TRUE))
{
getChild<LLCheckBoxCtrl>("favorites_on_login_check")->setCommitCallback(boost::bind(&handleFavoritesOnLoginChanged, _1, _2));