summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-04-14 13:06:44 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-04-14 13:06:44 +0300
commite5048ad8b2648fa05f6a02cc39f06ce9ec53ec87 (patch)
tree30feb54148fc64fb26a6e921f8e6201776458a60 /indra
parent5cd921a59750d73668241a247629c5fcd5852662 (diff)
MAINT-6302 FIXED Inventory tree indention displays incorrectly when dragging an open folder into another folder
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llfolderviewitem.cpp5
1 files changed, 5 insertions, 0 deletions
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");