remove STATICPOPUP_NUMDIALOGS

(cherry picked from commit 83481dad60e044ccdb1cc948571cf849b704f24e)
This commit is contained in:
NoM0Re
2025-12-22 03:50:31 -07:00
committed by andrew6180
parent 5bbf5dcd65
commit 7d4f92e3be
4 changed files with 4 additions and 4 deletions
-1
View File
@@ -127,7 +127,6 @@ globals = {
"SlashCmdList", "SlashCmdList",
"WA_SearchBoxTemplate_OnTextChanged", "WA_SearchBoxTemplate_OnTextChanged",
"SmoothStatusBarMixin", "SmoothStatusBarMixin",
"STATICPOPUP_NUMDIALOGS",
"StaticPopup_Show", "StaticPopup_Show",
"StaticPopupDialogs", "StaticPopupDialogs",
"TableHasAnyEntries", "TableHasAnyEntries",
+1 -1
View File
@@ -2281,7 +2281,7 @@ StaticPopupDialogs["WEAKAURAS_CONFIRM_REPAIR"] = {
whileDead = 1, whileDead = 1,
showAlert = 1, showAlert = 1,
timeout = 0, timeout = 0,
preferredindex = STATICPOPUP_NUMDIALOGS preferredindex = 4
} }
function Private.ValidateUniqueDataIds(silent) function Private.ValidateUniqueDataIds(silent)
+1 -1
View File
@@ -402,7 +402,7 @@ function OptionsPrivate.AddTriggerMetaFunctions(options, data, triggernum)
showAlert = 1, showAlert = 1,
whileDead = 1, whileDead = 1,
timeout = 0, timeout = 0,
preferredindex = STATICPOPUP_NUMDIALOGS, preferredindex = 4,
} }
triggerDeleteDialogOpen = true triggerDeleteDialogOpen = true
StaticPopup_Show("WEAKAURAS_CONFIRM_TRIGGER_DELETE") StaticPopup_Show("WEAKAURAS_CONFIRM_TRIGGER_DELETE")
+2 -1
View File
@@ -452,7 +452,8 @@ StaticPopupDialogs["WEAKAURAS_CONFIRM_DELETE"] = {
end, end,
showAlert = 1, showAlert = 1,
whileDead = 1, whileDead = 1,
preferredindex = STATICPOPUP_NUMDIALOGS, timeout = 0,
preferredindex = 4,
} }
function OptionsPrivate.IsWagoUpdateIgnored(auraId) function OptionsPrivate.IsWagoUpdateIgnored(auraId)