mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
gui: sort components list
This commit is contained in:
@@ -1254,6 +1254,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui.tabs.components.tabs.modules = pfUI.gui.tabs.components.tabs:CreateTabChild(T["Modules"], true)
|
||||
pfUI.gui.tabs.components.tabs.modules:SetScript("OnShow", function()
|
||||
if not this.setup then
|
||||
table.sort(pfUI.modules)
|
||||
for i,m in pairs(pfUI.modules) do
|
||||
if m ~= "gui" then
|
||||
-- create disabled entry if not existing and display
|
||||
|
||||
Reference in New Issue
Block a user