FIRE-20109: Crash at start using Vintage skin

meow-7.2.2
Ansariel 2016-09-18 11:37:24 +02:00
parent 46ea687baf
commit 747c9b9b9d
1 changed files with 8 additions and 1 deletions

View File

@ -1560,7 +1560,14 @@ void LLPanelMainInventory::onVisibilityChange( BOOL new_visibility )
{
menu->setVisible(FALSE);
}
getActivePanel()->getRootFolder()->finishRenamingItem();
// <FS:Ansariel> FIRE-20109: Crash at start using Vintage skin
//getActivePanel()->getRootFolder()->finishRenamingItem();
LLInventoryPanel* panel = getActivePanel();
if (panel)
{
panel->getRootFolder()->finishRenamingItem();
}
// </FS:Ansariel>
}
}