diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2022-12-12 20:22:50 +0200 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2022-12-12 20:22:50 +0200 |
commit | b4dd4271a1317c79aac4cf03a6612523e7a88ce4 (patch) | |
tree | 622d91a25ed24a80fc070efc3742ba8230dd41ce | |
parent | ab8dc07630728b3c5dc0a031eef28f5391734242 (diff) |
SL-16874 Added tool tips to buttons displayed by llDialog()
-rwxr-xr-x | doc/contributions.txt | 1 | ||||
-rw-r--r-- | indra/newview/lltoastnotifypanel.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/contributions.txt b/doc/contributions.txt index 04dc507783..f4cb450dd3 100755 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -373,6 +373,7 @@ Charlie Sazaland Chaser Zaks BUG-225599 BUG-227485 + SL-16874 Cherry Cheevers ChickyBabes Zuzu Chorazin Allen diff --git a/indra/newview/lltoastnotifypanel.cpp b/indra/newview/lltoastnotifypanel.cpp index 024f25bc98..bf3f4c1e88 100644 --- a/indra/newview/lltoastnotifypanel.cpp +++ b/indra/newview/lltoastnotifypanel.cpp @@ -89,6 +89,7 @@ LLButton* LLToastNotifyPanel::createButton(const LLSD& form_element, BOOL is_opt const LLFontGL* font = make_small_btn ? sFontSmall: sFont; // for block and ignore buttons in script dialog p.name = form_element["name"].asString(); p.label = form_element["text"].asString(); + p.tool_tip = form_element["text"].asString(); p.font = font; p.rect.height = BTN_HEIGHT; p.click_callback.function(boost::bind(&LLToastNotifyPanel::onClickButton, userdata)); |