Commit c217dce3 authored by Azilroka's avatar Azilroka

Fix SMF Toggling Anchors

parent 134b66a1
......@@ -910,7 +910,7 @@ function UF:CreateHeader(parent, groupFilter, overrideName, template, groupName,
header:SetParent(parent)
header:Show()
for k, v in pairs(self.headerPrototype) do
for k, v in pairs(UF.headerPrototype) do
header[k] = v
end
......@@ -1088,8 +1088,8 @@ function UF:UpdateAllHeaders(smart, skip)
ElvUF:DisableBlizzard('party')
end
for group in pairs(self.headers) do
self:CreateAndUpdateHeaderGroup(group, nil, nil, nil, smart, skip)
for group in pairs(UF.headers) do
UF:CreateAndUpdateHeaderGroup(group, nil, nil, nil, smart, skip)
end
end
......
......@@ -3340,7 +3340,7 @@ E.Options.args.unitframe = {
name = L["Smart Raid Filter"],
desc = L["Override any custom visibility setting in certain situations, EX: Only show groups 1 and 2 inside a 10 man instance."],
type = 'toggle',
set = function(info, value) E.db.unitframe[info[#info]] = value; UF:UpdateAllHeaders() end
set = function(info, value) E.db.unitframe[info[#info]] = value; UF:UpdateAllHeaders(value and UF.SmartSettings) end
},
targetOnMouseDown = {
order = 3,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment