Refresh appearance panel when appending board

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16226
This commit is contained in:
Ian McInerney 2023-12-31 17:08:09 +00:00
parent aa6fd88082
commit 53e16558a5
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,7 @@
#include <tool/tool_manager.h>
#include <footprint_edit_frame.h>
#include <footprint_editor_settings.h>
#include <widgets/appearance_controls.h>
#include <widgets/wx_progress_reporters.h>
#include <widgets/wx_infobar.h>
#include <wx/hyperlink.h>
@ -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;
}