When we setTextEntry on a combo box, move the cursor to the beginning of the new text.

This fixes the login location combo box not displaying the location cleanly after appending coordinates and such.
This commit is contained in:
Inusaito Sayori
2014-07-23 18:15:14 -04:00
parent 1c5872da0c
commit c6ef099e18

View File

@@ -937,6 +937,7 @@ void LLComboBox::setTextEntry(const LLStringExplicit& text)
if (mTextEntry)
{
mTextEntry->setText(text);
mTextEntry->setCursor(0); // Singu Note: Move the cursor over to the beginning
mHasAutocompletedText = FALSE;
updateSelection();
}