From b5af2df08c9054d9da8688816b9864ea8e7344c4 Mon Sep 17 00:00:00 2001 From: PanteraPolnocy Date: Wed, 28 Aug 2013 02:55:37 +0200 Subject: [PATCH] FIRE-4322: The "bing" system sound missing - patch provided by Siren Bellic --- indra/newview/lltoastalertpanel.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/indra/newview/lltoastalertpanel.cpp b/indra/newview/lltoastalertpanel.cpp index ba31e1239a..5f63e0c65e 100755 --- a/indra/newview/lltoastalertpanel.cpp +++ b/indra/newview/lltoastalertpanel.cpp @@ -421,12 +421,17 @@ bool LLToastAlertPanel::setCheckBox( const std::string& check_title, const std:: void LLToastAlertPanel::setVisible( BOOL visible ) { // only make the "ding" sound if it's newly visible - if( visible && !LLToastPanel::getVisible() ) + // FIRE-4322: The "bing" system sound missing + // if( visible && !LLToastPanel::getVisible() ) + LLToastPanel::setVisible( visible ); + if( visible ) + // { make_ui_sound("UISndAlert"); } - LLToastPanel::setVisible( visible ); + // Commented out and moved up, for FIRE-4322 patch + // LLToastPanel::setVisible( visible ); }