Added more verbose to gui loading

This commit is contained in:
Cooldude2606
2018-05-20 18:41:27 +01:00
parent a2f64f2aef
commit 8571a510f7
6 changed files with 15 additions and 8 deletions

View File

@@ -21,6 +21,7 @@ end
function left.add(obj)
if not is_type(obj,'table') then return end
if not is_type(obj.name,'string') then return end
verbose('Created Left Gui: '..obj.name)
setmetatable(obj,{__index=left._left})
Gui._add_data('left',obj.name,obj)
Gui.toolbar.add(obj.name,obj.caption,obj.tooltip,obj.toggle)