diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-08-18 18:51:42 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-08-18 18:53:11 +0300 |
commit | d32e685d96e19be3711e09ab626203d248d3594b (patch) | |
tree | 338c065af93e5467276e15bbf3450277a7e4d72a /indra/newview/llfloaternewfeaturenotification.cpp | |
parent | 4800e3e4164640bc98f92f9c50d2ab7b882f97a1 (diff) |
SL-19929 Small rework of a 'feature' notification
To make multiple parallel features possible
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; } |