diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2019-10-16 19:40:05 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2019-10-16 19:40:05 +0300 |
commit | 20c21bfcb359ab59bb334807907f03402a4b6ca1 (patch) | |
tree | ecb8f248ed5f842b24682bcdadf5613dcd45bb08 /indra/newview/lllocationinputctrl.cpp | |
parent | 410d25eed5fec7955337e0f91de8e09eabf00ed2 (diff) |
SL-12110 FIXED Location bar is corrupted for a parcel if its name begins with empty space
Diffstat (limited to 'indra/newview/lllocationinputctrl.cpp')
-rw-r--r-- | indra/newview/lllocationinputctrl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp index 11bc1425f9..638daef598 100644 --- a/indra/newview/lllocationinputctrl.cpp +++ b/indra/newview/lllocationinputctrl.cpp @@ -1100,9 +1100,7 @@ void LLLocationInputCtrl::changeLocationPresentation() //change location presentation only if user does not select/paste anything and //human-readable region name is being displayed - std::string text = mTextEntry->getText(); - LLStringUtil::trim(text); - if(!mTextEntry->hasSelection() && text == mHumanReadableLocation) + if(!mTextEntry->hasSelection() && mTextEntry->getText() == mHumanReadableLocation) { //needs unescaped one LLSLURL slurl; |