diff options
| author | Denis Serdjuk <dserduk@productengine.com> | 2010-02-02 20:11:57 +0200 |
|---|---|---|
| committer | Denis Serdjuk <dserduk@productengine.com> | 2010-02-02 20:11:57 +0200 |
| commit | 1da3feec8b99d938aa5df6f89e785fb317c88c45 (patch) | |
| tree | 2e1f4272e5eda4ecc1d808556ed0daabbd97a807 /indra/llui/lltextbase.cpp | |
| parent | 47162acede25dadae52fb43bd36f57fa26988aa5 (diff) | |
| parent | e367c412988a55515fb68179d21f5d1c19249969 (diff) | |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui/lltextbase.cpp')
| -rw-r--r-- | indra/llui/lltextbase.cpp | 10 |
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()); |
