From 5208aa56bd28490084166d0f755ce8d2f0dcd5a2 Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Thu, 4 Mar 2010 15:27:28 -0800 Subject: fixed expandable text box not hiding when clicking off them --- indra/newview/llexpandabletextbox.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview/llexpandabletextbox.cpp') diff --git a/indra/newview/llexpandabletextbox.cpp b/indra/newview/llexpandabletextbox.cpp index 9a906d8323..362010d65a 100644 --- a/indra/newview/llexpandabletextbox.cpp +++ b/indra/newview/llexpandabletextbox.cpp @@ -412,6 +412,13 @@ void LLExpandableTextBox::onFocusLost() LLUICtrl::onFocusLost(); } +void LLExpandableTextBox::onTopLost() +{ + collapseTextBox(); + + LLUICtrl::onTopLost(); +} + void LLExpandableTextBox::setValue(const LLSD& value) { collapseTextBox(); -- cgit v1.2.3