Skip to content

Commit

Permalink
Use both columns for multiselect's multiselect widget
Browse files Browse the repository at this point in the history
Ticket-Nr: 1212
  • Loading branch information
InfusOnWoW authored and Stanzilla committed Sep 6, 2018
1 parent 6d65832 commit 402b585
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions WeakAurasOptions/WeakAurasOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ function WeakAuras.ConstructOptions(prototype, data, startorder, subPrefix, subS
order = order,
hidden = function() return (type(hidden) == "function" and hidden(trigger)) or (type(hidden) ~= "function" and hidden) or trigger["use_"..realname] ~= false; end,
values = values,
-- width = "half",
width = "double",
get = function(info, v)
if(trigger["use_"..realname] == false and trigger[realname] and trigger[realname].multi) then
return trigger[realname].multi[v];
Expand All @@ -1029,14 +1029,6 @@ function WeakAuras.ConstructOptions(prototype, data, startorder, subPrefix, subS
WeakAuras.SortDisplayButtons();
end
};
options["multiselectspace_"..name] = {
type = "execute",
name = "",
order = (order - 0.5),
hidden = function() return (type(hidden) == "function" and hidden(trigger)) or (type(hidden) ~= "function" and hidden) or trigger["use_"..realname] ~= false; end,
disabled = true,
image = function() return "", 52, 52 end
};
if(arg.required and not triggertype) then
options[name].set = function(info, v)
if(trigger[realname].multi[v]) then
Expand Down

0 comments on commit 402b585

Please sign in to comment.