Verified Commit b63474bb authored by Repooc's avatar Repooc

Needs checking, didnt test but should be right

parent b6dcc571
......@@ -37,7 +37,8 @@ function mod:InsertPanel(name)
name = "BenikUI_"..name
local db = E.db.benikui.panels
if not db[name] then
db[name] = tcopy(PanelDefault)
-- db[name] = tcopy(PanelDefault)
E:CopyTable(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