summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2022-12-12 20:22:50 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2022-12-12 20:22:50 +0200
commitb4dd4271a1317c79aac4cf03a6612523e7a88ce4 (patch)
tree622d91a25ed24a80fc070efc3742ba8230dd41ce /indra
parentab8dc07630728b3c5dc0a031eef28f5391734242 (diff)
SL-16874 Added tool tips to buttons displayed by llDialog()
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lltoastnotifypanel.cpp1
1 files changed, 1 insertions, 0 deletions
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));