diff --git a/.pkgmeta b/.pkgmeta index 63348d4..8df9f2b 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -10,6 +10,9 @@ externals: libs/AceEvent-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceEvent-3.0 tag: latest + libs/AceSerializer-3.0: + url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceSerializer-3.0 + tag: latest libs/AceTimer-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceTimer-3.0 tag: latest diff --git a/IceHUD_Options/Options.lua b/IceHUD_Options/Options.lua index 36b7915..2df350c 100644 --- a/IceHUD_Options/Options.lua +++ b/IceHUD_Options/Options.lua @@ -790,24 +790,6 @@ function IceHUD_Options:GenerateModuleOptions(firstLoad) end end -function IceHUD_Options:OnLoad() - self:GenerateModuleOptions(true) - self.options.args.colors.args = IceHUD.IceCore:GetColorOptions() - self.options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(IceHUD.db) - IceHUD_Options:SetupProfileImportButtons() - - -- Add dual-spec support - if IceHUD.db ~= nil and LibDualSpec then - LibDualSpec:EnhanceOptions(IceHUD_Options.options.args.profiles, IceHUD.db) - end - - LibStub("AceConfig-3.0"):RegisterOptionsTable("IceHUD", options, "icehudcl") -end - -if IceHUD and IceHUD.IceCore then - IceHUD_Options:OnLoad() -end - function IceHUD_Options:SetupProfileImportButtons() if AceSerializer then AceSerializer:Embed(self) @@ -867,3 +849,21 @@ function IceHUD_Options:SetupProfileImportButtons() } end end + +function IceHUD_Options:OnLoad() + self:GenerateModuleOptions(true) + self.options.args.colors.args = IceHUD.IceCore:GetColorOptions() + self.options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(IceHUD.db) + self:SetupProfileImportButtons() + + -- Add dual-spec support + if IceHUD.db ~= nil and LibDualSpec then + LibDualSpec:EnhanceOptions(IceHUD_Options.options.args.profiles, IceHUD.db) + end + + LibStub("AceConfig-3.0"):RegisterOptionsTable("IceHUD", options, "icehudcl") +end + +if IceHUD and IceHUD.IceCore then + IceHUD_Options:OnLoad() +end diff --git a/changelog.md b/changelog.md index 8d5ad59..56ef7b5 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +v1.15.1: + +- Fix error opening options. + v1.15.0: - Support The War Within/11.0 diff --git a/embeds.xml b/embeds.xml index a03f489..7b37a9d 100644 --- a/embeds.xml +++ b/embeds.xml @@ -7,6 +7,7 @@ + diff --git a/this_version.md b/this_version.md index 2e8ea13..3afbab6 100644 --- a/this_version.md +++ b/this_version.md @@ -1,5 +1,9 @@ # Changelog +v1.15.1: + +- Fix error opening options. + v1.15.0: - Support The War Within/11.0