From 505c15cf47c04e45f4a68790b5c63237a7bfcc9b Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Tue, 23 May 2023 16:13:10 +0300 Subject: SL-19759 FIXED Adding New Folders in Single Folder view can cause all folders to open and shift out of view --- indra/llui/llfolderviewitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llui/llfolderviewitem.cpp') 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); } -- cgit v1.2.3