diff --git a/cmd/micro/tab.go b/cmd/micro/tab.go index 06ed06c4..985e1d50 100644 --- a/cmd/micro/tab.go +++ b/cmd/micro/tab.go @@ -44,6 +44,7 @@ func NewTabFromView(v *View) *Tab { // SetNum sets all this tab's views to have the correct tab number func (t *Tab) SetNum(num int) { + t.tree.tabNum = num for _, v := range t.views { v.TabNum = num }