summaryrefslogtreecommitdiff
path: root/indra/newview/llhints.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-10-08 16:56:02 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-10-08 16:56:02 -0700
commit7ffc9b06c820d70724af2aef361ff9964e584e73 (patch)
tree0de4ae5f3312aff15270e9fd46bce080e05718db /indra/newview/llhints.cpp
parent3abd522936a7a82b2ab76f5ec27bcfc99deb55f0 (diff)
Created a floater for setting display name
Diffstat (limited to 'indra/newview/llhints.cpp')
-rw-r--r--indra/newview/llhints.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llhints.cpp b/indra/newview/llhints.cpp
index d837ed8205..b326fc26f2 100644
--- a/indra/newview/llhints.cpp
+++ b/indra/newview/llhints.cpp
@@ -210,10 +210,15 @@ void LLHintPopup::draw()
}
else if (!targetp->isInVisibleChain())
{
+ setEnabled(false);
+ setMouseOpaque(false);
// if target is invisible, don't draw, but keep alive in case widget comes back
}
else
{
+ setEnabled(true);
+ setMouseOpaque(true);
+
LLRect target_rect;
targetp->localRectToOtherView(targetp->getLocalRect(), &target_rect, getParent());