The number one rule in asking for help is to post your code. It is hard to help with out seeing the code in question.
The current code for Minguas Suite has this:
Code:
function PanelManager:CreateSubcategoryPanel(panelName)
local panel = CreateFrame("Frame")
panel.parent = self.primaryPanel.name
panel.name = panelName
panel.AddCheckbox = function(...) PanelManager.AddCheckbox(...) end
panel.AddSlider = function(...) PanelManager.AddSlider(...) end
panel.children = {}
InterfaceOptions_AddCategory(panel)
return panel
end
That is functionally equivalent to:
Code:
function PanelManager:CreateSubcategoryPanel(panelName)
local panel = CreateFrame("Frame")
panel.parent = self.primaryPanel.name
panel.name = panelName
panel.AddCheckbox = PanelManager.AddCheckbox
panel.AddSlider = PanelManager.AddSlider
panel.children = {}
InterfaceOptions_AddCategory(panel)
return panel
end
If you are using that function to add your subcategories for "Enemy Cooldown Tracker" then you are blindly setting the parent to "Minguas Suite" for every subcategory. But I'm not sure how that could be the case unless you are manually setting panel.hasChildren for "Enemy Cooldown Tracker."