summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2018-01-03 18:45:02 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2018-01-03 18:45:02 +0200
commit7de6475a0a61dcd79bd8b11519c01efba953293d (patch)
tree8fb17737a580751984679b6299d24bb7f37e4695 /indra/llui
parent6ea525f6af15d83f32a3241cfa867b09ff3bdc2c (diff)
MAINT-8125 "New" tag remains visible when searching items in Received Items panel
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llbadge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llbadge.cpp b/indra/llui/llbadge.cpp
index 42726de0ad..15b6899d74 100644
--- a/indra/llui/llbadge.cpp
+++ b/indra/llui/llbadge.cpp
@@ -224,7 +224,7 @@ void LLBadge::draw()
{
LLView* owner_view = mOwner.get();
- if (owner_view)
+ if (owner_view && owner_view->isInVisibleChain())
{
//
// Calculate badge size based on label text