Add /hidecoaui slash command to open the settings menu

This commit is contained in:
2026-07-08 16:01:04 +02:00
parent 4619c68826
commit aaa7795287
3 changed files with 46 additions and 1 deletions
+7 -1
View File
@@ -557,8 +557,14 @@ aboutTitle:SetText("About")
InterfaceOptions_AddCategory(aboutPanel)
local function OpenOptions()
InterfaceOptionsFrame_OpenToCategory(classesPanel)
end
HideCoAUI.OpenOptions = OpenOptions
-- Jump straight to the Classes subcategory when the HideCoAUI parent node itself is opened.
panel:SetScript("OnShow", function(self)
InterfaceOptionsFrame_OpenToCategory(classesPanel)
OpenOptions()
self:Hide()
end)