Browse Source

Re-add code to refresh plugins at each frame load

Should now be safe

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

3
pcbnew/pcb_edit_frame.cpp

@ -316,6 +316,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