Commits

richard_linden committed 20ccc90

EXP-1201 FIX Quit button option not present in Mode Changing and Exit viewer dialogs

  • Participants
  • Parent commits 27cc185

Comments (0)

Files changed (2)

File indra/llui/llnotifications.cpp

 	LLParamSDParser parser;
 	parser.writeSD(mFormData, p.form_elements);
 
-	mFormData = mFormData[""];
 	if (!mFormData.isArray())
 	{
 		// change existing contents to a one element array

File indra/llui/llsdparam.cpp

 		it != name_stack.end();
 		++it)
 	{
-		if (it->first.empty())
-		{
-			continue;
-		}
-
 		bool new_array_entry = false;
 		if (prev_it == mNameStack.end())
 		{
 			}
 		}
 
-		LLSD* child_sd = &(*sd_to_write)[it->first];
+		LLSD* child_sd = it->first.empty() ? sd_to_write : &(*sd_to_write)[it->first];
 
 		if (child_sd->isArray())
 		{