addons: enable addons on profile change

This commit is contained in:
shagu
2018-07-07 04:09:58 +02:00
parent 7242720c72
commit e7d2fc7a41
+9 -1
View File
@@ -101,7 +101,15 @@ pfUI:RegisterModule("addons", function ()
end
end
f.input:SetChecked(active)
if active then
if not f.input:GetChecked() then
f.input:Click()
end
else
if f.input:GetChecked() then
f.input:Click()
end
end
end
end