summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.cpp
diff options
context:
space:
mode:
authorleyla_linden <none@none>2011-01-19 11:39:25 -0800
committerleyla_linden <none@none>2011-01-19 11:39:25 -0800
commit17068766b75fbe7dac968705f4f383fb61f73eb4 (patch)
tree9a6923653b721311b61edac947b2e7682972cce3 /indra/newview/lllocationinputctrl.cpp
parentca1c1eea78ff2ab83979a4308dd5a93ea0032fc8 (diff)
parenteec6071766e6fef7015610b002a9bcb09ce36836 (diff)
Merge
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();
}