From f2fa2c0529e9d38f874dabc0c5a4a7a7a306fd02 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Sat, 7 Sep 2019 18:45:15 +0200 Subject: [PATCH] Fix SaveBindings --- ItemRack/ItemRack.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index 3ccf5ce..6466246 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -1823,10 +1823,10 @@ function ItemRack.SetSetBindings() button = _G[buttonName] or CreateFrame("Button",buttonName,nil,"SecureActionButtonTemplate") button:SetAttribute("type","macro") button:SetAttribute("macrotext","/script ItemRack.RunSetBinding(\""..i.."\")") - -- SetBindingClick(ItemRackUser.Sets[i].key,buttonName) + SetBindingClick(ItemRackUser.Sets[i].key,buttonName) end end - -- SaveBindings(GetCurrentBindingSet()) + AttemptToSaveBindings(GetCurrentBindingSet()) end function ItemRack.RunSetBinding(setname)