mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
tabs:AddTab now returns the tabbutton object associated with the new tab
This commit is contained in:
parent
a02fafd902
commit
c674b46a0c
@ -330,7 +330,7 @@ function newobject:AddTab(name, object, tip, image, onopened, onclosed)
|
||||
object:SetSize(self.width - padding * 2, (self.height - tabheight) - padding * 2)
|
||||
end
|
||||
|
||||
return self
|
||||
return tab
|
||||
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user