Add treenode:SetText and treenode:GetText

This commit is contained in:
Kenny Shields 2014-07-01 20:49:48 -04:00
parent a3e5a2960c
commit c1d3021590

View File

@ -195,6 +195,19 @@ function newobject:GetIcon()
end
function newobject:SetText(text)
self.text = text
return self
end
function newobject:GetText()
return self.text
end
function newobject:AddNode(text)
if not self.internals[1] then