SL-18776 Fix handling for an empty avatar list
parent
8496ae48dd
commit
b79c4e47a8
|
|
@ -680,7 +680,12 @@ void LLFloaterAvatarPicker::processResponse(const LLUUID& query_id, const LLSD&
|
|||
// clear "Searching" label on first results
|
||||
search_results->deleteAllItems();
|
||||
|
||||
if (content.has("agents"))
|
||||
if (content.has("failure_reason"))
|
||||
{
|
||||
getChild<LLScrollListCtrl>("SearchResults")->setCommentText(content["failure_reason"].asString());
|
||||
getChildView("ok_btn")->setEnabled(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
LLSD agents = content["agents"];
|
||||
|
||||
|
|
@ -733,10 +738,6 @@ void LLFloaterAvatarPicker::processResponse(const LLUUID& query_id, const LLSD&
|
|||
search_results->setFocus(TRUE);
|
||||
}
|
||||
}
|
||||
else if (content.has("failure_reason"))
|
||||
{
|
||||
getChild<LLScrollListCtrl>("SearchResults")->setCommentText(content["failure_reason"].asString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -323,7 +323,6 @@
|
|||
follows="left|top"
|
||||
decimal_digits="0"
|
||||
increment="1"
|
||||
control_name="Edit Cost"
|
||||
name="Edit Cost"
|
||||
label="Price:"
|
||||
label_width="100"
|
||||
|
|
|
|||
|
|
@ -1140,7 +1140,6 @@ even though the user gets a free copy.
|
|||
decimal_digits="0"
|
||||
increment="1"
|
||||
left_pad="0"
|
||||
control_name="Edit Cost"
|
||||
name="Edit Cost"
|
||||
label="L$"
|
||||
label_width="15"
|
||||
|
|
|
|||
|
|
@ -450,7 +450,6 @@
|
|||
follows="left|top"
|
||||
decimal_digits="0"
|
||||
increment="1"
|
||||
control_name="Edit Cost"
|
||||
name="Edit Cost"
|
||||
label="Price: L$"
|
||||
label_width="75"
|
||||
|
|
|
|||
|
|
@ -454,7 +454,6 @@
|
|||
increment="1"
|
||||
top_pad="10"
|
||||
left="120"
|
||||
control_name="Edit Cost"
|
||||
name="Edit Cost"
|
||||
label="Price: L$"
|
||||
label_width="73"
|
||||
|
|
|
|||
Loading…
Reference in New Issue