From 40752afafdcb2fddb26357a42d842a616932cf98 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 24 Dec 2021 11:40:20 +0100 Subject: [PATCH] DIALOG_TEMPLATE_SELECTOR: Force display refresh after selecting a path For some reason the panel showing the templates did not show the new selection Fixes #10106 https://gitlab.com/kicad/code/kicad/issues/10106 --- kicad/dialogs/dialog_template_selector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kicad/dialogs/dialog_template_selector.cpp b/kicad/dialogs/dialog_template_selector.cpp index 086fbeaba0..0283fd2da1 100644 --- a/kicad/dialogs/dialog_template_selector.cpp +++ b/kicad/dialogs/dialog_template_selector.cpp @@ -297,6 +297,7 @@ void DIALOG_TEMPLATE_SELECTOR::replaceCurrentPage() buildPageContent( m_tcTemplatePath->GetValue(), page ); m_selectedWidget = nullptr; + PostSizeEvent(); // A easy way to froce refresh displays }