From 97fd5d9ba445dbac0deaef763dce1382a88211d9 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sat, 9 May 2020 15:31:34 +0200 Subject: widget factory: table-based pane registry, allow adding tabs via menu --- alf/alflayout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alf') diff --git a/alf/alflayout.cpp b/alf/alflayout.cpp index 8035e74..0fa3473 100644 --- a/alf/alflayout.cpp +++ b/alf/alflayout.cpp @@ -571,9 +571,9 @@ ALF_Layout_Invalidate(ALFLayout *layout, HWND window) HWND parent = GetParent(window); if (parent) { ALF_InvalidateLayout(parent); - } else { - PostMessage(window, ALF_WM_VALIDATELAYOUT, 0, 0); } + + PostMessage(window, ALF_WM_VALIDATELAYOUT, 0, 0); } -- cgit v1.2.3