summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-04-09 17:19:43 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-04-09 17:19:43 +0300
commit5e134b4732e5224b1a5da929a4b12ac63ec120b4 (patch)
tree570e1c8cd652469ec38b6079efb3c2c1a5b62bf9 /indra/llui
parent0e7403df70d3298ba39f2269b999dbda574ea117 (diff)
SL-13182 Fix root folder's state
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfolderview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index 0c1dcc301b..bcca4d78a0 100644
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -257,6 +257,8 @@ LLFolderView::LLFolderView(const Params& p)
mPopupMenuHandle = menu->getHandle();
mViewModelItem->openItem();
+
+ mAreChildrenInited = true; // root folder is a special case due to not being loaded normally, assume that it's inited.
}
// Destroys the object