diff options
author | Alexander Neumann <an2048@gmail.com> | 2019-05-02 17:20:07 +0200 |
---|---|---|
committer | Alexander Neumann <an2048@gmail.com> | 2019-05-02 17:20:07 +0200 |
commit | 8490802c5f6c5938d417545c3ee2c73c84c912cc (patch) | |
tree | d515a83ddb47db84f716bb1d6c7fee1192f64fce | |
parent | Cache dpi to avoid repetitive calls to GetDpiForWindow (diff) | |
parent | Merge pull request #499 from zx2c4-forks/jd/tabbpagelist (diff) | |
download | wireguard-windows-8490802c5f6c5938d417545c3ee2c73c84c912cc.tar.xz wireguard-windows-8490802c5f6c5938d417545c3ee2c73c84c912cc.zip |
Merge branch 'master' of github.com:lxn/walk
-rw-r--r-- | tabpagelist.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tabpagelist.go b/tabpagelist.go index b425b301..ce05ddf4 100644 --- a/tabpagelist.go +++ b/tabpagelist.go @@ -108,6 +108,10 @@ func (l *TabPageList) Insert(index int, item *TabPage) error { } } + if item.Layout() != nil { + item.Layout().Update(false) + } + return nil } |