Commit 4a1c59fc authored by Drake Arconis's avatar Drake Arconis
Browse files

Fix a buggo with group leave closing

parent b6401838
......@@ -348,7 +348,7 @@ void LLGroupActions::activate(const LLUUID& group_id)
#if 0 // this isn't used!!!! <alchemy>
static bool isGroupUIVisible(const LLUUID& group_id)
{
auto* floaterp = LLFloaterReg::findInstance("group_profile", LLSD().with("group_id", group_id));
auto* floaterp = LLFloaterReg::findInstance("group_profile", LLSD(group_id));
return LLFloater::isVisible(floaterp);
}
#endif
......@@ -395,7 +395,7 @@ void LLGroupActions::createGroup()
//static
void LLGroupActions::closeGroup(const LLUUID& group_id)
{
auto* floaterp = LLFloaterReg::findInstance("group_profile", LLSD().with("group_id", group_id));
auto* floaterp = LLFloaterReg::findInstance("group_profile", LLSD(group_id));
if (floaterp)
{
floaterp->closeFloater();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment