summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-13 22:16:20 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-13 22:16:20 +0300
commit7d1597fc98868c73d6de0b95f3c1af4c459a30c8 (patch)
tree8b97d63c87403d8b19dc1bca936d463f97fbb0bf /indra/llui
parentb9633c17e373bfe55b29228996e8473eb041466d (diff)
viewer#1424 Favorites in Appearance floater #4
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 59be1444d9..7be8db4777 100644
--- a/indra/llui/llfolderviewitem.cpp
+++ b/indra/llui/llfolderviewitem.cpp
@@ -777,7 +777,7 @@ void LLFolderViewItem::drawFavoriteIcon(const Params& default_params, const LLUI
{
favorite_image = default_params.favorite_image;
}
- else if (mHasFavorites)
+ else if (mHasFavorites && !hasVisibleChildren())
{
favorite_image = default_params.favorite_content_image;
}