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
This commit is contained in:
jean-pierre charras 2021-12-24 11:40:20 +01:00
parent db06693d22
commit 40752afafd
1 changed files with 1 additions and 0 deletions

View File

@ -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
}