From 7871be05af86b35e250d25a5d6edbb53ca5b7267 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Tue, 6 Jan 2015 15:33:50 -0500 Subject: [PATCH] Login entry must be a map to construct an LLSavedLoginEntry, not just defined. Login Screen Crash Fix. --- indra/newview/llpanellogin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 49a304beb..572a35145 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -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);