Skip to content

Commit

Permalink
Allow Multiselect Load Options to use a sort order.
Browse files Browse the repository at this point in the history
  • Loading branch information
nullKomplex authored and InfusOnWoW committed Nov 1, 2024
1 parent 5052365 commit 106010b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeakAurasOptions/LoadOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ function OptionsPrivate.ConstructOptions(prototype, data, startorder, triggernum
values = WeakAuras[arg.values];
end
end
local sortOrder = arg.sorted and OptionsPrivate.Private.SortOrderForValues(values) or nil
local sortOrder = arg.sorted and (arg.sortOrder or OptionsPrivate.Private.SortOrderForValues(values)) or nil
options[name..suffix] = {
type = "select",
width = WeakAuras.normalWidth,
Expand Down

0 comments on commit 106010b

Please sign in to comment.