summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2011-01-12 11:07:56 -0800
committerMerov Linden <merov@lindenlab.com>2011-01-12 11:07:56 -0800
commite3fb72f547ce61b1cfb0da7a280b31c2e78d57b6 (patch)
treeee64993b5b16eceb4419a0e1efc78fd306f4601a
parent7a1d7d15b9658b6bde224bd87e476ac152925413 (diff)
parent410359b48d535f97043ded7542fb4c8c46c450f2 (diff)
STORM-370 : pull in viewer-development
-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();
}