summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.cpp
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2011-01-21 15:55:31 -0800
committerMark Palange (Mani) <palange@lindenlab.com>2011-01-21 15:55:31 -0800
commit1e9111466bb8a77fc8054ca3d458a6692579fd3e (patch)
tree16b3642ca58b29e5037aa9563fba84179df9ceb5 /indra/newview/lllocationinputctrl.cpp
parentdd3607cba651439fb1f73e78df38a160a2ef4f5c (diff)
parent45e25e83cf7457f495b051b9f7683ee299547290 (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();
}