SL-11567 FIXED The allowed and the blocked experiences are not listed in the "Allowed","Blocked" tabs immediately
parent
ef9f7ebcc4
commit
0771d66ace
|
|
@ -74,10 +74,6 @@ BOOL LLFloaterExperiences::postBuild()
|
|||
getChild<LLTabContainer>("xp_tabs")->addTabPanel(new LLPanelExperienceLog());
|
||||
resizeToTabs();
|
||||
|
||||
|
||||
LLEventPumps::instance().obtain("experience_permission").listen("LLFloaterExperiences",
|
||||
boost::bind(&LLFloaterExperiences::updatePermissions, this, _1));
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
@ -163,6 +159,10 @@ void LLFloaterExperiences::refreshContents()
|
|||
|
||||
void LLFloaterExperiences::onOpen( const LLSD& key )
|
||||
{
|
||||
LLEventPumps::instance().obtain("experience_permission").stopListening("LLFloaterExperiences");
|
||||
LLEventPumps::instance().obtain("experience_permission").listen("LLFloaterExperiences",
|
||||
boost::bind(&LLFloaterExperiences::updatePermissions, this, _1));
|
||||
|
||||
LLViewerRegion* region = gAgent.getRegion();
|
||||
if(region)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue