diff options
author | Callum Prentice <callum@lindenlab.com> | 2023-08-21 10:19:57 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2023-08-21 10:19:57 -0700 |
commit | 2830d5c09e3bb3fb81752de9027bfbee5edd0cc7 (patch) | |
tree | 70236a9a37954a43bc9143c0333fdcb8bbc0c91f /indra/newview/llfloaternewfeaturenotification.cpp | |
parent | d3147517b4b0f0abc7e9f753eddb3a39343a2fa9 (diff) | |
parent | 42870208598a374628987b9f2504176b369b798b (diff) |
Merge remote-tracking branch 'origin/DRTVWR-567' into viewer_bulky_thumbs
Diffstat (limited to 'indra/newview/llfloaternewfeaturenotification.cpp')
-rw-r--r-- | indra/newview/llfloaternewfeaturenotification.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llfloaternewfeaturenotification.cpp b/indra/newview/llfloaternewfeaturenotification.cpp index 7c3fe8cdc8..3a2035b9b9 100644 --- a/indra/newview/llfloaternewfeaturenotification.cpp +++ b/indra/newview/llfloaternewfeaturenotification.cpp @@ -42,6 +42,14 @@ BOOL LLFloaterNewFeatureNotification::postBuild() { setCanDrag(FALSE); getChild<LLButton>("close_btn")->setCommitCallback(boost::bind(&LLFloaterNewFeatureNotification::onCloseBtn, this)); + + const std::string title_txt = "title_txt"; + const std::string dsc_txt = "description_txt"; + std::string feature = "_" + getKey().asString(); + + getChild<LLUICtrl>(title_txt)->setValue(getString(title_txt + feature)); + getChild<LLUICtrl>(dsc_txt)->setValue(getString(dsc_txt + feature)); + return TRUE; } |