diff --git a/tabsLayout.go b/tabsLayout.go index 20c7a36..1578c5c 100644 --- a/tabsLayout.go +++ b/tabsLayout.go @@ -475,6 +475,7 @@ func (tabsLayout *tabsLayoutData) RemoveView(index int) View { } else if newCurrent != oldCurrent { tabsLayout.setRaw(Current, newCurrent) } + return view } return nil