From e7d2fc7a414b5b86e96ad54e8a40b4618263182f Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 7 Jul 2018 04:09:58 +0200 Subject: [PATCH] addons: enable addons on profile change --- modules/addons.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/addons.lua b/modules/addons.lua index dda9d23e..89287843 100644 --- a/modules/addons.lua +++ b/modules/addons.lua @@ -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