mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 21:50:00 +00:00
gui: sort profile list
This commit is contained in:
@@ -1405,6 +1405,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
|
||||
CreateConfig(function() return end, T["Select profile"], C.global, "profile", "dropdown", function()
|
||||
local values = {}
|
||||
for name, config in pairs(pfUI_profiles) do table.insert(values, name) end
|
||||
table.sort(values)
|
||||
return values
|
||||
end, false, "Profile")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user