summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderviewitem.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-05-21 12:11:34 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-05-21 12:11:34 +0300
commit5956e75e174441eeb49d3733b6b096a276ebffd3 (patch)
tree29b00c5ece02bdd751802168f8de7ac196da1f79 /indra/llui/llfolderviewitem.cpp
parent0ce19811c67b293b0eb7fb08abc3132e38f61b36 (diff)
MAINT-4064 FIXED Don't show Folder arrow for folders without visible children.
Diffstat (limited to 'indra/llui/llfolderviewitem.cpp')
-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 83254c2840..7213569487 100644
--- a/indra/llui/llfolderviewitem.cpp
+++ b/indra/llui/llfolderviewitem.cpp
@@ -655,7 +655,7 @@ void LLFolderViewItem::drawOpenFolderArrow(const Params& default_params, const L
//
const S32 TOP_PAD = default_params.item_top_pad;
- if (hasVisibleChildren() || getViewModelItem()->hasChildren())
+ if (hasVisibleChildren())
{
LLUIImage* arrow_image = default_params.folder_arrow_image;
gl_draw_scaled_rotated_image(