Use SetPanel in SetTabItem

This commit is contained in:
makeworld 2021-01-01 00:47:02 -05:00
parent 497c76a126
commit a602321476
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ func (t *TabbedPanels) SetTabItem(name string, item Primitive) {
for _, p := range t.panels.panels {
if p.Name == name {
p.Item = item
t.panels.SetPanel(name, item, p.Resize, p.Visible)
t.updateAll()
return
}