diff options
author | Glenn Glazer <coyot@lindenlab.com> | 2016-05-25 08:12:47 -0700 |
---|---|---|
committer | Glenn Glazer <coyot@lindenlab.com> | 2016-05-25 08:12:47 -0700 |
commit | 67438c67aba96fe51dd29eee52bd332286dd2130 (patch) | |
tree | 5c10eacc151dfedcf0afcccd97da045169d5d704 /indra/llui/llfolderviewitem.cpp | |
parent | 9908fcf4ac43537728d1b34e30650735cfb36147 (diff) | |
parent | fb598cd380b38714abed554b8feacabfc55b2aaa (diff) |
pull from lynx
Diffstat (limited to 'indra/llui/llfolderviewitem.cpp')
-rw-r--r-- | indra/llui/llfolderviewitem.cpp | 5 |
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"); |