MAINT-6302 FIXED Inventory tree indention displays incorrectly when dragging an open folder into another folder

Mnikolenko Productengine 2016-04-14 13:06:44 +03:00
parent 5cd921a597
commit e5048ad8b2
1 changed files with 5 additions and 0 deletions

View File

@ -972,6 +972,11 @@ void LLFolderViewFolder::addToFolder(LLFolderViewFolder* folder)
mIndentation = (getParentFolder())
? getParentFolder()->getIndentation() + mLocalIndentation
: 0;
if(isOpen() && folder->isOpen())
{
requestArrange();
}
}
static LLTrace::BlockTimerStatHandle FTM_ARRANGE("Arrange");