From 1665e108652e620ae45e7dc8804d3acd8ee7b0dc Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Mon, 10 Nov 2008 01:10:16 +0100 Subject: [PATCH] Added compat var to not break every addon using the old button frame names to access BT4 buttons --- ActionButton.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ActionButton.lua b/ActionButton.lua index befb068..86aab83 100644 --- a/ActionButton.lua +++ b/ActionButton.lua @@ -34,7 +34,9 @@ function Bartender4.Button:Create(id, parent) -- work around for "blocked" message when using /click macros GetClickFrame(name) + -- Backwards Compat to pre-4.2.0 button names/layout _G[name .. "Secure"] = button + button.Secure = button button.rid = id button.id = absid