From 829eefba3dd6d6b2b0e3452c449329967eb79eef Mon Sep 17 00:00:00 2001 From: Ansariel Date: Mon, 29 Nov 2021 11:38:33 +0100 Subject: [PATCH] FIRE-31256: Add Cancel button for new auto-replace list dialog --- indra/newview/llfloaterautoreplacesettings.cpp | 8 ++++++++ indra/newview/skins/default/xui/de/notifications.xml | 1 + indra/newview/skins/default/xui/en/notifications.xml | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/indra/newview/llfloaterautoreplacesettings.cpp b/indra/newview/llfloaterautoreplacesettings.cpp index d455b685fd..6b91491dba 100644 --- a/indra/newview/llfloaterautoreplacesettings.cpp +++ b/indra/newview/llfloaterautoreplacesettings.cpp @@ -420,6 +420,14 @@ void LLFloaterAutoReplaceSettings::onNewList() bool LLFloaterAutoReplaceSettings::callbackNewListName(const LLSD& notification, const LLSD& response) { LL_DEBUGS("AutoReplace")<<"called"< FIRE-31256: Add Cancel button for new auto-replace list dialog + S32 option = LLNotificationsUtil::getSelectedOption(notification, response); + if (option != 0) + { + return false; + } + // LLSD newList = notification["payload"]["list"]; diff --git a/indra/newview/skins/default/xui/de/notifications.xml b/indra/newview/skins/default/xui/de/notifications.xml index 9fc9152e5d..b54bf8e12c 100644 --- a/indra/newview/skins/default/xui/de/notifications.xml +++ b/indra/newview/skins/default/xui/de/notifications.xml @@ -1250,6 +1250,7 @@ Sie sind nicht berechtigt, Land für die aktive Gruppe zu kaufen. Name für neue Liste: