Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Era/Talented/ui/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ local function CreateBaseButtons(parent)
-- b:SetSize(b:GetTextWidth() + 40, 22)
-- b:SetScript("OnClick", function (self)
-- if self.talentGroup then
-- SetActiveTalentGroup(self.talentGroup)
-- C_SpecializationInfo.SetActiveSpecGroup(self.talentGroup)
-- end
-- end)
-- b:SetPoint("BOTTOM", 0, 6)
Expand Down
2 changes: 1 addition & 1 deletion Era/Talented/ui/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ function Talented:CreateActionMenu()

-- entry = self:GetNamedMenu("SwitchTalentGroup")
-- entry.text = L["Switch to this Spec"]
-- entry.func = function (entry, talentGroup) SetActiveTalentGroup(talentGroup) end
-- entry.func = function (entry, talentGroup) C_SpecializationInfo.SetActiveSpecGroup(talentGroup) end
-- menu[#menu + 1] = entry

entry = self:GetNamedMenu("Delete")
Expand Down
2 changes: 1 addition & 1 deletion sod/Talented/ui/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ local function CreateBaseButtons(parent)
b:SetSize(b:GetTextWidth() + 40, 22)
b:SetScript("OnClick", function (self)
if self.talentGroup then
SetActiveTalentGroup(self.talentGroup)
C_SpecializationInfo.SetActiveSpecGroup(self.talentGroup)
end
end)
b:SetPoint("BOTTOM", 0, 6)
Expand Down
2 changes: 1 addition & 1 deletion sod/Talented/ui/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function Talented:CreateActionMenu()

entry = self:GetNamedMenu("SwitchTalentGroup")
entry.text = L["Switch to this Spec"]
entry.func = function (entry, talentGroup) SetActiveTalentGroup(talentGroup) end
entry.func = function (entry, talentGroup) C_SpecializationInfo.SetActiveSpecGroup(talentGroup) end
menu[#menu + 1] = entry

entry = self:GetNamedMenu("Delete")
Expand Down
2 changes: 1 addition & 1 deletion sod/Talented_SpecTabs/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function TabFrame_OnClick(self, button)
local info = specs[self.type]
if button == "RightButton" then
if not info.pet and not InCombatLockdown() then
SetActiveTalentGroup(info.talentGroup)
C_SpecializationInfo.SetActiveSpecGroup(info.talentGroup)
Tabs_UpdateCheck(self:GetParent(), Talented.alternates[info.talentGroup])
end
-- else
Expand Down
2 changes: 1 addition & 1 deletion wotlk/Talented/ui/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ local function CreateBaseButtons(parent)
b:SetSize(b:GetTextWidth() + 40, 22)
b:SetScript("OnClick", function (self)
if self.talentGroup then
SetActiveTalentGroup(self.talentGroup)
C_SpecializationInfo.SetActiveSpecGroup(self.talentGroup)
end
end)
b:SetPoint("BOTTOM", 0, 6)
Expand Down
2 changes: 1 addition & 1 deletion wotlk/Talented/ui/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ function Talented:CreateActionMenu()

entry = self:GetNamedMenu("SwitchTalentGroup")
entry.text = L["Switch to this Spec"]
entry.func = function (entry, talentGroup) SetActiveTalentGroup(talentGroup) end
entry.func = function (entry, talentGroup) C_SpecializationInfo.SetActiveSpecGroup(talentGroup) end
menu[#menu + 1] = entry

entry = self:GetNamedMenu("Delete")
Expand Down
2 changes: 1 addition & 1 deletion wotlk/Talented_SpecTabs/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function TabFrame_OnClick(self, button)
local info = specs[self.type]
if button == "RightButton" then
if not info.pet and not InCombatLockdown() then
SetActiveTalentGroup(info.talentGroup)
C_SpecializationInfo.SetActiveSpecGroup(info.talentGroup)
Tabs_UpdateCheck(self:GetParent(), Talented.alternates[info.talentGroup])
end
-- else
Expand Down