diff --git a/objects/internal/treenode.lua b/objects/internal/treenode.lua index 4d79e45..acda781 100644 --- a/objects/internal/treenode.lua +++ b/objects/internal/treenode.lua @@ -189,6 +189,12 @@ function newobject:SetIcon(icon) end +function newobject:GetIcon() + + return self.icon + +end + function newobject:AddNode(text) if not self.internals[1] then