File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11<Ui xmlns =" http://www.blizzard.com/wow/ui/" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://www.blizzard.com/wow/ui/
2- https://raw.githubusercontent.com/Meorawr /wow-ui-schema/main /UI.xsd" >
2+ https://raw.githubusercontent.com/Gethe /wow-ui-source/refs/heads/live/Interface/AddOns/Blizzard_SharedXML /UI.xsd" >
33 <Script file =" LibStub\LibStub.lua" />
44 <Include file =" CallbackHandler-1.0\CallbackHandler-1.0.xml" />
55 <Include file =" AceAddon-3.0\AceAddon-3.0.xml" />
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ function NAM:OnInitialize()
152152
153153 return
154154 end
155- Settings .OpenToCategory (self .configName )
155+ Settings .OpenToCategory (self .categoryID )
156156 end
157157end
158158
@@ -162,7 +162,8 @@ function NAM:RegisterOptions()
162162 if not initialized then
163163 initialized = true
164164 LibStub (" AceConfig-3.0" ):RegisterOptionsTable (self .configName , function () return self :GetOptionsTable () end )
165- LibStub (" AceConfigDialog-3.0" ):AddToBlizOptions (self .configName )
165+ local _ , categoryID = LibStub (" AceConfigDialog-3.0" ):AddToBlizOptions (self .configName )
166+ self .categoryID = categoryID
166167 else
167168 LibStub (" AceConfigRegistry-3.0" ):NotifyChange (self .configName )
168169 end
You can’t perform that action at this time.
0 commit comments