From e5048ad8b2648fa05f6a02cc39f06ce9ec53ec87 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Thu, 14 Apr 2016 13:06:44 +0300 Subject: MAINT-6302 FIXED Inventory tree indention displays incorrectly when dragging an open folder into another folder --- indra/llui/llfolderviewitem.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/llui/llfolderviewitem.cpp') diff --git a/indra/llui/llfolderviewitem.cpp b/indra/llui/llfolderviewitem.cpp index 3def0386e1..5eb5ca4f82 100644 --- a/indra/llui/llfolderviewitem.cpp +++ b/indra/llui/llfolderviewitem.cpp @@ -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"); -- cgit v1.2.3