diff --git a/objects/tabs.lua b/objects/tabs.lua index f128c7e..8493730 100644 --- a/objects/tabs.lua +++ b/objects/tabs.lua @@ -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