summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorDenis Serdjuk <dserduk@productengine.com>2010-02-02 20:11:57 +0200
committerDenis Serdjuk <dserduk@productengine.com>2010-02-02 20:11:57 +0200
commit1da3feec8b99d938aa5df6f89e785fb317c88c45 (patch)
tree2e1f4272e5eda4ecc1d808556ed0daabbd97a807 /indra/llui/lltextbase.cpp
parent47162acede25dadae52fb43bd36f57fa26988aa5 (diff)
parente367c412988a55515fb68179d21f5d1c19249969 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 259522a932..b977e50bc1 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -1024,6 +1024,16 @@ void LLTextBase::setReadOnlyColor(const LLColor4 &c)
}
//virtual
+void LLTextBase::handleVisibilityChange( BOOL new_visibility )
+{
+ if(!new_visibility && mPopupMenu)
+ {
+ mPopupMenu->hide();
+ }
+ LLUICtrl::handleVisibilityChange(new_visibility);
+}
+
+//virtual
void LLTextBase::setValue(const LLSD& value )
{
setText(value.asString());