Refresh appearance panel when appending board
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16226
This commit is contained in:
parent
aa6fd88082
commit
53e16558a5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue