From 4f92a3222efac36b2355550ed55ca0a2fcb9591d Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Fri, 3 Jun 2022 21:24:09 +0300 Subject: SL-15312 Updated picks's layout - better emphasis onto saving - better resize logic - ability to discard changes --- indra/newview/llpanelprofile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/newview/llpanelprofile.cpp') diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index cb10dd75fb..17c557e4f9 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -1246,11 +1246,11 @@ void LLPanelProfileSecondLife::fillNameAgeData(const LLAvatarName &av_name, cons args_name["[NAME]"] = av_name.getAccountName(); LLStringUtil::format(name_and_date, args_name); getChild("user_name_date")->setValue(name_and_date); - + std::string register_date = getString("age_format"); - LLSD args_age; + LLSD args_age; args_age["[AGE]"] = LLDateUtil::ageFromDate(born_on, LLDate::now()); - LLStringUtil::format(register_date, args_age); + LLStringUtil::format(register_date, args_age); getChild("user_age")->setValue(register_date); } -- cgit v1.2.3