Commit f20ae9ee authored by Benik's avatar Benik

Fixed Custom Panels creation

parent 2603f4ac
......@@ -37,8 +37,7 @@ function mod:InsertPanel(name)
name = "BenikUI_"..name
local db = E.db.benikui.panels
if not db[name] then
-- db[name] = tcopy(PanelDefault)
E:CopyTable(db[name], PanelDefault)
db[name] = PanelDefault
else
E:StaticPopup_Show("BUI_Panel_Name")
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment