diff options
Diffstat (limited to 'linden/indra/newview/llfloateravatarpicker.cpp')
-rw-r--r-- | linden/indra/newview/llfloateravatarpicker.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloateravatarpicker.cpp b/linden/indra/newview/llfloateravatarpicker.cpp index e7e8626..4d01bab 100644 --- a/linden/indra/newview/llfloateravatarpicker.cpp +++ b/linden/indra/newview/llfloateravatarpicker.cpp | |||
@@ -347,8 +347,9 @@ void LLFloaterAvatarPicker::processAvatarPickerReply(LLMessageSystem* msg, void* | |||
347 | LLString avatar_name; | 347 | LLString avatar_name; |
348 | if (avatar_id.isNull()) | 348 | if (avatar_id.isNull()) |
349 | { | 349 | { |
350 | self->childSetTextArg("NotFound", "[TEXT]", self->childGetText("Edit")); | 350 | LLString::format_map_t map; |
351 | avatar_name = self->childGetValue("NotFound").asString(); | 351 | map["[TEXT]"] = self->childGetText("Edit"); |
352 | avatar_name = self->getString("NotFound", map); | ||
352 | self->mListNames->setEnabled(FALSE); | 353 | self->mListNames->setEnabled(FALSE); |
353 | } | 354 | } |
354 | else | 355 | else |