diff --git a/Clique/Clique.lua b/Clique/Clique.lua index e6c8cae..47a4279 100644 --- a/Clique/Clique.lua +++ b/Clique/Clique.lua @@ -696,7 +696,9 @@ function addon:ApplyAttributes() end function addon:TalentGroupChanged() - self.talentGroup = SpecializationUtil.GetActiveSpecialization() + if SpecializationUtil and SpecializationUtil.GetActiveSpecialization then + self.talentGroup = SpecializationUtil.GetActiveSpecialization() + end if self.settings.specswap then local currentProfile = self.db:GetCurrentProfile() diff --git a/Clique/config/BindConfig.lua b/Clique/config/BindConfig.lua index fab9cfd..6cd6a60 100644 --- a/Clique/config/BindConfig.lua +++ b/Clique/config/BindConfig.lua @@ -13,8 +13,10 @@ local MAX_ROWS = 12 function CliqueConfig:ShowWithSpellBook() self:ClearAllPoints() - self:SetParent(AscensionSpellbookFrame) - self:SetPoint("LEFT", AscensionSpellbookFrame, "RIGHT", 55, 0) + if AscensionSpellbookFrame then + self:SetParent(AscensionSpellbookFrame) + self:SetPoint("LEFT", AscensionSpellbookFrame, "RIGHT", 55, 0) + end self:Show() end diff --git a/Clique/config/BlizzardFramesConfig.lua b/Clique/config/BlizzardFramesConfig.lua index e5c4439..1529842 100644 --- a/Clique/config/BlizzardFramesConfig.lua +++ b/Clique/config/BlizzardFramesConfig.lua @@ -122,4 +122,4 @@ function panel.okay() opt.boss = not not panel.boss:GetChecked() end -InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) +if InterfaceOptions_AddCategory then InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) end diff --git a/Clique/config/DenylistConfig.lua b/Clique/config/DenylistConfig.lua index a5af3da..a1c89f3 100644 --- a/Clique/config/DenylistConfig.lua +++ b/Clique/config/DenylistConfig.lua @@ -166,4 +166,4 @@ function panel.refresh() panel:UpdateScrollFrame() end -InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) +if InterfaceOptions_AddCategory then InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) end diff --git a/Clique/config/OptionsPanel.lua b/Clique/config/OptionsPanel.lua index b754841..24d519a 100644 --- a/Clique/config/OptionsPanel.lua +++ b/Clique/config/OptionsPanel.lua @@ -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 diff --git a/Clique/images/icon_circle_128.blp b/Clique/images/icon_circle_128.blp new file mode 100644 index 0000000..8ee1e61 Binary files /dev/null and b/Clique/images/icon_circle_128.blp differ diff --git a/Clique/images/icon_circle_128.tga b/Clique/images/icon_circle_128.tga deleted file mode 100644 index 0e40d0d..0000000 Binary files a/Clique/images/icon_circle_128.tga and /dev/null differ diff --git a/Clique/images/icon_square_64.blp b/Clique/images/icon_square_64.blp new file mode 100644 index 0000000..1874f20 Binary files /dev/null and b/Clique/images/icon_square_64.blp differ diff --git a/Clique/images/icon_square_64.tga b/Clique/images/icon_square_64.tga deleted file mode 100644 index 362fcb1..0000000 Binary files a/Clique/images/icon_square_64.tga and /dev/null differ