From 1ca424dccb87475efeda6091931ff10bb72e441d Mon Sep 17 00:00:00 2001 From: Parnic Date: Wed, 24 Jul 2024 09:31:48 -0500 Subject: [PATCH] Enable profile import/export The UI for this is still rough, but it works fine. --- IceHUD_Options/Options.lua | 38 -------------------------------------- changelog.md | 1 + this_version.md | 1 + 3 files changed, 2 insertions(+), 38 deletions(-) diff --git a/IceHUD_Options/Options.lua b/IceHUD_Options/Options.lua index 3fc4712..36b7915 100644 --- a/IceHUD_Options/Options.lua +++ b/IceHUD_Options/Options.lua @@ -794,9 +794,7 @@ 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) - --@debug@ IceHUD_Options:SetupProfileImportButtons() - --@end-debug@ -- Add dual-spec support if IceHUD.db ~= nil and LibDualSpec then @@ -833,24 +831,6 @@ function IceHUD_Options:SetupProfileImportButtons() editbox:DisableButton(true) frame:AddChild(editbox) end, - hidden = - -- hello, snooper! exporting works well enough, but importing is very rough, so enable this at your own peril - --[===[@non-debug@ - true - --@end-non-debug@]===] - --@debug@ - false - --@end-debug@ - , - disabled = - -- hello, snooper! exporting works well enough, but importing is very rough, so enable this at your own peril - --[===[@non-debug@ - true - --@end-non-debug@]===] - --@debug@ - false - --@end-debug@ - , order = 98.1 } @@ -883,24 +863,6 @@ function IceHUD_Options:SetupProfileImportButtons() editbox:DisableButton(true) frame:AddChild(editbox) end, - hidden = - -- hello, snooper! this feature is really rough, so enable it at your own peril - --[===[@non-debug@ - true - --@end-non-debug@]===] - --@debug@ - false - --@end-debug@ - , - disabled = - -- hello, snooper! this feature is really rough, so enable it at your own peril - --[===[@non-debug@ - true - --@end-non-debug@]===] - --@debug@ - false - --@end-debug@ - , order = 98.2 } end diff --git a/changelog.md b/changelog.md index 01b3005..8d5ad59 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ v1.15.0: - Support The War Within/11.0 +- Add support for exporting and importing profiles through text. v1.14.42: diff --git a/this_version.md b/this_version.md index fe39e01..2e8ea13 100644 --- a/this_version.md +++ b/this_version.md @@ -3,3 +3,4 @@ v1.15.0: - Support The War Within/11.0 +- Add support for exporting and importing profiles through text.