diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2020-02-22 18:53:24 +0200 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2020-02-22 18:53:24 +0200 |
commit | b8aa22d65e714f8b0cf67a5e3c64e1c01b8825f0 (patch) | |
tree | 4cb1bd71ce9bc8f9be049598ee4080537b634bc1 /indra/newview/lllocationinputctrl.cpp | |
parent | ba2d07af30d5da052bd835adaeadc5cb6dd681a0 (diff) | |
parent | 2c4133c8db131b08d40fc91e2881b873ea1a984d (diff) |
Merge branch 'master' into DRTVWR-483
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 42b5ff3890..802e4941e6 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; |