From f52b97d58854e7fe29368c74ed2d89977a417911 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Mon, 15 Apr 2013 23:29:51 -0500 Subject: [PATCH] Fix llalertdialog.cpp (accidentally grabbed some changes that only work with future alterations I've yet to push to master.) --- indra/llui/llalertdialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/indra/llui/llalertdialog.cpp b/indra/llui/llalertdialog.cpp index 7015e9c6a..feb04aa67 100644 --- a/indra/llui/llalertdialog.cpp +++ b/indra/llui/llalertdialog.cpp @@ -251,7 +251,7 @@ LLAlertDialog::LLAlertDialog( LLNotificationPtr notification, bool modal) LLButton* btn = new LLButton( button_data.mName, button_rect, "","", "", - NULL, + NULL, NULL, font, button_data.mText, button_data.mText); @@ -369,7 +369,8 @@ bool LLAlertDialog::setCheckBox( const std::string& check_title, const std::stri check_rect.setOriginAndSize(msg_x, VPAD+BTN_HEIGHT+LINE_HEIGHT/2, max_msg_width, LINE_HEIGHT); - mCheck = new LLCheckboxCtrl(std::string("check"), check_rect, check_title, font, boost::bind(&LLAlertDialog::onClickIgnore, this, _1)); + mCheck = new LLCheckboxCtrl(std::string("check"), check_rect, check_title, font); + mCheck->setCommitCallback(boost::bind(&LLAlertDialog::onClickIgnore, this, _1)); addChild(mCheck); return true;