Skip to content
Snippets Groups Projects
Commit 0771d66a authored by maxim_productengine's avatar maxim_productengine
Browse files

SL-11567 FIXED The allowed and the blocked experiences are not listed in the...

SL-11567 FIXED The allowed and the blocked experiences are not listed in the "Allowed","Blocked" tabs immediately
parent ef9f7ebc
No related branches found
No related tags found
No related merge requests found
...@@ -74,10 +74,6 @@ BOOL LLFloaterExperiences::postBuild() ...@@ -74,10 +74,6 @@ BOOL LLFloaterExperiences::postBuild()
getChild<LLTabContainer>("xp_tabs")->addTabPanel(new LLPanelExperienceLog()); getChild<LLTabContainer>("xp_tabs")->addTabPanel(new LLPanelExperienceLog());
resizeToTabs(); resizeToTabs();
LLEventPumps::instance().obtain("experience_permission").listen("LLFloaterExperiences",
boost::bind(&LLFloaterExperiences::updatePermissions, this, _1));
return TRUE; return TRUE;
} }
...@@ -163,6 +159,10 @@ void LLFloaterExperiences::refreshContents() ...@@ -163,6 +159,10 @@ void LLFloaterExperiences::refreshContents()
void LLFloaterExperiences::onOpen( const LLSD& key ) 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(); LLViewerRegion* region = gAgent.getRegion();
if(region) if(region)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment