fix: guard retail-only InterfaceOptions/SpecializationUtil/AscensionSpellbookFrame; port icons to BLP
release / release (push) Successful in 2s

This commit is contained in:
2026-05-29 10:43:54 +02:00
parent 762cd19a78
commit 9f7e2b3ae8
9 changed files with 12 additions and 8 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ local L = addon.L
--- and it's been moved from AddonCore due to taint issues.
-------------------------------------------------------------------------]] --
local about = CreateFrame("Frame", addonName .. "AboutPanel", InterfaceOptionsFramePanelContainer)
local about = CreateFrame("Frame", addonName .. "AboutPanel", InterfaceOptionsFramePanelContainer or UIParent)
about.name = addonName
about:Hide()
@@ -76,7 +76,7 @@ addon.optpanels = addon.optpanels or {}
addon.optpanels.ABOUT = about
about:SetScript("OnShow", about.OnShow)
InterfaceOptions_AddCategory(addon.optpanels.ABOUT)
if InterfaceOptions_AddCategory then InterfaceOptions_AddCategory(addon.optpanels.ABOUT) end
--[[-------------------------------------------------------------------------
-- End Dialog
@@ -551,4 +551,4 @@ panel.cancel = panel.refresh
function addon:UpdateOptionsPanel() if panel:IsVisible() and panel.initialized then panel.refresh() end end
InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT)
if InterfaceOptions_AddCategory then InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) end