diff --git a/pcbnew/python/scripting/pcb_scripting_tool.cpp b/pcbnew/python/scripting/pcb_scripting_tool.cpp index 6380d23d41..c89361ed99 100644 --- a/pcbnew/python/scripting/pcb_scripting_tool.cpp +++ b/pcbnew/python/scripting/pcb_scripting_tool.cpp @@ -179,7 +179,7 @@ int SCRIPTING_TOOL::reloadPlugins( const TOOL_EVENT& aEvent ) // Action plugins can be modified, therefore the plugins menu must be updated: frame()->ReCreateMenuBar(); // Recreate top toolbar to add action plugin buttons - frame()->ReCreateHToolbar(); + frame()->RecreateToolbars(); // Post a size event to force resizing toolbar by the AUI manager: frame()->PostSizeEvent(); }