aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llalertdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llalertdialog.cpp')
-rw-r--r--linden/indra/llui/llalertdialog.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/linden/indra/llui/llalertdialog.cpp b/linden/indra/llui/llalertdialog.cpp
index 547efae..8950fcd 100644
--- a/linden/indra/llui/llalertdialog.cpp
+++ b/linden/indra/llui/llalertdialog.cpp
@@ -783,10 +783,11 @@ bool LLAlertDialog::parseAlerts(const LLString& xml_filename, LLControlGroup* se
783 // label= 783 // label=
784 LLString name; 784 LLString name;
785 child->getAttributeString("name", name); 785 child->getAttributeString("name", name);
786 if (name.empty()) 786
787 { 787 //always set to alert_name for the sake of i18n
788 name = alert_name; 788 //if (name.empty())
789 } 789 name = alert_name;
790
790 if (xml_template) 791 if (xml_template)
791 { 792 {
792 xml_template->mIgnorable = LLAlertDialog::IGNORE_USE_DEFAULT; 793 xml_template->mIgnorable = LLAlertDialog::IGNORE_USE_DEFAULT;