Browse Source

Sync action plugins every time PCB frame is created

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9781
6.0.7
Jon Evans 4 years ago
parent
commit
69566b25b1
  1. 3
      pcbnew/pcb_edit_frame.cpp

3
pcbnew/pcb_edit_frame.cpp

@ -314,6 +314,9 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
PythonSyncEnvironmentVariables();
PythonSyncProjectName();
// Sync action plugins in case they changed since the last time the frame opened
GetToolManager()->RunAction( PCB_ACTIONS::pluginsReload, true );
GetCanvas()->SwitchBackend( m_canvasType );
ActivateGalCanvas();

Loading…
Cancel
Save