Added compat var to not break every addon using the old button frame names to access BT4 buttons
This commit is contained in:
parent
c41ac73bb6
commit
1665e10865
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue