FIRE-31256: Add Cancel button for new auto-replace list dialog
parent
0e198621f3
commit
829eefba3d
|
|
@ -420,6 +420,14 @@ void LLFloaterAutoReplaceSettings::onNewList()
|
|||
bool LLFloaterAutoReplaceSettings::callbackNewListName(const LLSD& notification, const LLSD& response)
|
||||
{
|
||||
LL_DEBUGS("AutoReplace")<<"called"<<LL_ENDL;
|
||||
|
||||
// <FS:Ansariel> FIRE-31256: Add Cancel button for new auto-replace list dialog
|
||||
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
|
||||
if (option != 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// </FS:Ansariel>
|
||||
|
||||
LLSD newList = notification["payload"]["list"];
|
||||
|
||||
|
|
|
|||
|
|
@ -1250,6 +1250,7 @@ Sie sind nicht berechtigt, Land für die aktive Gruppe zu kaufen.
|
|||
Name für neue Liste:
|
||||
<form name="form">
|
||||
<button name="SetName" text="OK"/>
|
||||
<button name="Cancel" text="Abbrechen"/>
|
||||
</form>
|
||||
</notification>
|
||||
<notification label="Automatische Ersetzungsliste umbenennen" name="RenameAutoReplaceList">
|
||||
|
|
|
|||
|
|
@ -3129,6 +3129,10 @@ Would you be my friend?
|
|||
index="0"
|
||||
name="SetName"
|
||||
text="OK"/>
|
||||
<button
|
||||
index="1"
|
||||
name="Cancel"
|
||||
text="Cancel"/>
|
||||
</form>
|
||||
</notification>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue