first set of fixes for WotlK

- conditional show/hide of bars is still broken
- page swapping in any form is broken as well
This commit is contained in:
Hendrik Leppkes
2008-08-05 16:09:04 +00:00
parent 85801dc74d
commit b0dbd42aa8
3 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ function Bartender4.Bar:Create(id, config, name)
id = tostring(id)
assert(not barregistry[id], "duplicated entry in barregistry.")
local bar = setmetatable(CreateFrame("Frame", ("BT4Bar%s"):format(id), UIParent, "SecureStateHeaderTemplate"), Bar_MT)
local bar = setmetatable(CreateFrame("Frame", ("BT4Bar%s"):format(id), UIParent, "SecureHandlerStateTemplate"), Bar_MT)
barregistry[id] = bar
bar.id = id
bar.name = name or id