Skip to content

Commit

Permalink
Use Settings API in WoW 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevcairiel committed Nov 3, 2024
1 parent 77d9bc4 commit 3daf760
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,11 @@ function Config:OnInitialize()
acd:AddToBlizOptions("GM2/FAQ", "FAQ", "GatherMate 2")

local function openOptions()
InterfaceOptionsFrame_OpenToCategory("GatherMate 2")
if Settings and Settings.OpenToCategory then
Settings.OpenToCategory("GatherMate 2")
else
InterfaceOptionsFrame_OpenToCategory("GatherMate 2")
end
end

SLASH_GatherMate21 = "/gathermate"
Expand Down

0 comments on commit 3daf760

Please sign in to comment.