Skip to content

Commit

Permalink
Refresh appearance panel when appending board
Browse files Browse the repository at this point in the history
  • Loading branch information
imciner2 committed Dec 31, 2023
1 parent aa6fd88 commit 53e1655
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pcbnew/tools/pcb_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 53e1655

Please sign in to comment.