Skip to content
Snippets Groups Projects
Commit 410359b4 authored by Paul Guslisty's avatar Paul Guslisty
Browse files

STORM-370 FIXED Human-readable name of region disappears from Location Bar after pressing ESC

- When location input control loses focus setting cursor to 0  to show the left edge of the text.
parent 964e9814
No related branches found
No related tags found
No related merge requests found
...@@ -547,6 +547,10 @@ void LLLocationInputCtrl::onFocusLost() ...@@ -547,6 +547,10 @@ void LLLocationInputCtrl::onFocusLost()
{ {
LLUICtrl::onFocusLost(); LLUICtrl::onFocusLost();
refreshLocation(); refreshLocation();
// Setting cursor to 0 to show the left edge of the text. See STORM-370.
mTextEntry->setCursor(0);
if(mTextEntry->hasSelection()){ if(mTextEntry->hasSelection()){
mTextEntry->deselect(); mTextEntry->deselect();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment