summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-05-23 16:13:10 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-05-23 16:13:10 +0300
commit505c15cf47c04e45f4a68790b5c63237a7bfcc9b (patch)
treef0af4d370ee51c7c2521f31b5c78f6315a0a60e3 /indra/llui
parent8c0ad5425f4f7497fcb3973623d8620d7088e28a (diff)
SL-19759 FIXED Adding New Folders in Single Folder view can cause all folders to open and shift out of view
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfolderviewitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfolderviewitem.cpp b/indra/llui/llfolderviewitem.cpp
index 4fbfa7ed79..7090156b4e 100644
--- a/indra/llui/llfolderviewitem.cpp
+++ b/indra/llui/llfolderviewitem.cpp
@@ -1344,7 +1344,7 @@ BOOL LLFolderViewFolder::setSelection(LLFolderViewItem* selection, BOOL openitem
child_selected = TRUE;
}
}
- if(openitem && child_selected)
+ if(openitem && child_selected && !mSingleFolderMode)
{
setOpenArrangeRecursively(TRUE);
}