From 53e16558a517f9e1d1f1ddec6ac805ac6ebddeac Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Sun, 31 Dec 2023 17:08:09 +0000 Subject: [PATCH] Refresh appearance panel when appending board Fixes https://gitlab.com/kicad/code/kicad/-/issues/16226 --- pcbnew/tools/pcb_control.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/tools/pcb_control.cpp b/pcbnew/tools/pcb_control.cpp index c728b9b0c3..7440d49a84 100644 --- a/pcbnew/tools/pcb_control.cpp +++ b/pcbnew/tools/pcb_control.cpp @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -1347,6 +1348,9 @@ int PCB_CONTROL::AppendBoard( PCB_IO& pi, wxString& fileName ) else commit.Revert(); + // Refresh the UI for the updated board properties + editFrame->GetAppearancePanel()->OnBoardChanged(); + return 0; }