summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-01-21 15:55:55 -0500
committerOz Linden <oz@lindenlab.com>2011-01-21 15:55:55 -0500
commitd034d8d9289a9e5511d32ec048b75837b89264ad (patch)
treec3fd25eb7d1096baef0290b5bf86321f7ed447ad /indra/newview/lllocationinputctrl.cpp
parent6150e4ed7cf86a2afc0061ba89b0cb049d6f036e (diff)
parent97a9211d87fac90994846e5bf91a78a708ec5a9c (diff)
merge changes for vwr-24347
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();
}