mirror of https://github.com/anoshenko/rui.git
Merge pull request #12 from anoshenko/bug-fixes/fix-tabslayout-remove-view
Fixed bug while removing child from TabsLayout
This commit is contained in:
commit
5cb3841cf8
|
@ -475,6 +475,7 @@ func (tabsLayout *tabsLayoutData) RemoveView(index int) View {
|
|||
} else if newCurrent != oldCurrent {
|
||||
tabsLayout.setRaw(Current, newCurrent)
|
||||
}
|
||||
return view
|
||||
}
|
||||
return nil
|
||||
|
||||
|
|
Loading…
Reference in New Issue