Enable profile import/export

The UI for this is still rough, but it works fine.
This commit is contained in:
Parnic
2024-07-24 09:31:48 -05:00
parent 8b9263a2c5
commit 1ca424dccb
3 changed files with 2 additions and 38 deletions

View File

@ -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

View File

@ -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:

View File

@ -3,3 +3,4 @@
v1.15.0:
- Support The War Within/11.0
- Add support for exporting and importing profiles through text.