summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-02-11 11:38:27 -0500
committerOz Linden <oz@lindenlab.com>2011-02-11 11:38:27 -0500
commit924be3f25c2fca57a8d6f5f902eaeca5c2dd91e1 (patch)
tree3ba82720ba6b24830637999bfa605e786d814ced /indra/newview/lllocationinputctrl.cpp
parent40abc0fe1e6edd2f018fcdc35ffccdb5475a5fe0 (diff)
parent547b40bfc8b0139789a2d9c5dcd1591343a2c60b (diff)
pull back release tag from viewer-beta
Diffstat (limited to 'indra/newview/lllocationinputctrl.cpp')
-rw-r--r--indra/newview/lllocationinputctrl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp
index 1527f8f4c9..55164f6094 100644
--- a/indra/newview/lllocationinputctrl.cpp
+++ b/indra/newview/lllocationinputctrl.cpp
@@ -547,6 +547,10 @@ void LLLocationInputCtrl::onFocusLost()
{
LLUICtrl::onFocusLost();
refreshLocation();
+
+ // Setting cursor to 0 to show the left edge of the text. See STORM-370.
+ mTextEntry->setCursor(0);
+
if(mTextEntry->hasSelection()){
mTextEntry->deselect();
}