From bfd6ae49df9a64e675d99fe8040dcaedef57b9bc Mon Sep 17 00:00:00 2001 From: Greg Date: Fri, 16 Aug 2019 17:33:28 -0400 Subject: [PATCH] Fixup. --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 84e18af..83815cb 100644 --- a/main.go +++ b/main.go @@ -200,6 +200,7 @@ func NewFlex(fos ...FlexOption) Flex { return func(ws ...Widget) Widget { return NewfWidget(func(ctx Context) Context { + // ensure child widgets write options to the right place extra.cur = index opts := extra.data[index].(*FlexOpts) f.Init(ctx.ops, ctx.cs)