Login entry must be a map to construct an LLSavedLoginEntry, not just defined.

Login Screen Crash Fix.
This commit is contained in:
Inusaito Sayori
2015-01-06 15:33:50 -05:00
parent 2285830c8f
commit 7871be05af

View File

@@ -986,7 +986,7 @@ void LLPanelLogin::onLocationSLURL()
//Special handling of name combobox. Facilitates grid-changing by account selection.
void LLPanelLogin::onSelectLoginEntry(const LLSD& selected_entry)
{
if (!selected_entry.isUndefined())
if (selected_entry.isMap())
setFields(LLSavedLoginEntry(selected_entry));
// This stops the automatic matching of the first name to a selected grid.
LLViewerLogin::getInstance()->setNameEditted(true);