Commit e6d14e47 authored by NiranV's avatar NiranV
Browse files

Fixed: (POTENTIAL) Crash while tools floater is open and different objects...

Fixed: (POTENTIAL) Crash while tools floater is open and different objects with different group owners are selected in quick succession.

--HG--
branch : Black Dragon
parent 0e92c47e
......@@ -449,7 +449,7 @@ void LLPanelPermissions::refresh()
// Group owned already displayed by selectGetOwner
LLGroupMgr* group_mgr = LLGroupMgr::getInstance();
LLGroupMgrGroupData* group_data = group_mgr->getGroupData(mOwnerID);
if (!group_data && !group_data->isGroupPropertiesDataComplete())
if (!group_data || group_data && !group_data->isGroupPropertiesDataComplete())
{
// Triggers refresh
group_mgr->sendGroupPropertiesRequest(mOwnerID);
......
Supports Markdown
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