mirror of https://github.com/anoshenko/rui.git
Fixed bug while removing child from TabsLayout
This commit is contained in:
parent
cb7d11ed15
commit
01a9bfeb93
|
@ -475,6 +475,7 @@ func (tabsLayout *tabsLayoutData) RemoveView(index int) View {
|
||||||
} else if newCurrent != oldCurrent {
|
} else if newCurrent != oldCurrent {
|
||||||
tabsLayout.setRaw(Current, newCurrent)
|
tabsLayout.setRaw(Current, newCurrent)
|
||||||
}
|
}
|
||||||
|
return view
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue