Mercurial > wow > hansgar_and_franzok_assist
diff Libs/DF/split_bar.lua @ 29:5da06cb420d4
- framework update.
| author | Tercioo |
|---|---|
| date | Sat, 02 Jan 2016 13:33:05 -0200 |
| parents | dbd417f413a8 |
| children | 7944c081e5b4 |
line wrap: on
line diff
--- a/Libs/DF/split_bar.lua Fri Dec 18 15:15:50 2015 -0200 +++ b/Libs/DF/split_bar.lua Sat Jan 02 13:33:05 2016 -0200 @@ -539,14 +539,15 @@ DF.SplitBarCounter = DF.SplitBarCounter + 1 end if (not parent) then - return nil + return error ("Details! FrameWork: parent not found.", 2) end if (not container) then container = parent end if (name:find ("$parent")) then - name = name:gsub ("$parent", parent:GetName()) + local parentName = DF.GetParentName (parent) + name = name:gsub ("$parent", parentName) end local SplitBarObject = {type = "barsplit", dframework = true}
