Re-add code to refresh plugins at each frame load
Should now be safe Fixes https://gitlab.com/kicad/code/kicad/-/issues/9781
This commit is contained in:
parent
587ee890d9
commit
622d0fc896
|
@ -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…
Reference in New Issue