from retail

This commit is contained in:
NoM0Re
2025-02-02 19:22:54 +01:00
parent 95a13c6896
commit 3913a570fa
4 changed files with 47 additions and 6 deletions
+3
View File
@@ -903,6 +903,9 @@ function Private.ScanEvents(event, arg1, arg2, ...)
end
function WeakAuras.ScanEvents(event, arg1, arg2, ...)
if type(event) ~= "string" then
return
end
scannerFrame:Queue(Private.ScanEvents, event, arg1, arg2, ...)
end
+5 -3
View File
@@ -1827,9 +1827,11 @@ function Private.Modernize(data, oldSnapshot)
-- noMerge for separator custom option doesn't make sense,
-- and groups achieve the desired effect better,
-- so drop the feature
for _, optionData in ipairs(data.authorOptions) do
if optionData.type == "header" then
optionData.noMerge = nil
if data.authorOptions then
for _, optionData in ipairs(data.authorOptions) do
if optionData.type == "header" then
optionData.noMerge = nil
end
end
end
end