From f11339f1f5e8538d5cbc4ece1edd6cfbfbd66c67 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Sat, 7 Oct 2023 08:34:44 +0300 Subject: [PATCH] Add actions for generators to Tools menu. --- pcbnew/menubar_pcb_editor.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pcbnew/menubar_pcb_editor.cpp b/pcbnew/menubar_pcb_editor.cpp index 46a18e2907..fe375b0dfa 100644 --- a/pcbnew/menubar_pcb_editor.cpp +++ b/pcbnew/menubar_pcb_editor.cpp @@ -400,6 +400,12 @@ void PCB_EDIT_FRAME::doReCreateMenuBar() toolsMenu->Add( ACTIONS::showFootprintEditor ); toolsMenu->Add( PCB_ACTIONS::updateFootprints ); + toolsMenu->AppendSeparator(); + toolsMenu->Add( PCB_ACTIONS::generatorsShowManager ); + toolsMenu->Add( PCB_ACTIONS::regenerateAll ); + toolsMenu->Add( PCB_ACTIONS::regenerateOutdated ); + toolsMenu->Add( PCB_ACTIONS::regenerateSelected ); + toolsMenu->AppendSeparator(); toolsMenu->Add( PCB_ACTIONS::cleanupTracksAndVias ); toolsMenu->Add( PCB_ACTIONS::removeUnusedPads );