Banish new project from template to the menubar

+ remove inappropriate icon from Eeschema ctx menu
This commit is contained in:
Michael Kavanagh 2021-01-15 21:07:31 +00:00 committed by Seth Hillbrand
parent 0280a61a64
commit d32c12b4b9
2 changed files with 2 additions and 3 deletions

View File

@ -436,8 +436,7 @@ TOOL_ACTION EE_ACTIONS::updateSymbol( "eeschema.InteractiveEdit.updateSymbol",
TOOL_ACTION EE_ACTIONS::assignNetclass( "eeschema.InteractiveEdit.assignNetclass",
AS_GLOBAL, 0, "",
_( "Assign Netclass..." ), _( "Assign a netclass to the net of the selected wire" ),
list_nets_xpm );
_( "Assign Netclass..." ), _( "Assign a netclass to the net of the selected wire" ) );
TOOL_ACTION EE_ACTIONS::toggleDeMorgan( "eeschema.InteractiveEdit.toggleDeMorgan",
AS_GLOBAL, 0, "",

View File

@ -78,6 +78,7 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
cond.Enable( FILE_HISTORY::FileHistoryNotEmpty( fileHistory ) );
RegisterUIUpdateHandler( item->GetId(), cond );
fileMenu->AppendSeparator();
fileMenu->Add( KICAD_MANAGER_ACTIONS::closeProject );
fileMenu->AppendSeparator();
@ -202,7 +203,6 @@ void KICAD_MANAGER_FRAME::RecreateBaseHToolbar()
// New
m_mainToolBar->Add( KICAD_MANAGER_ACTIONS::newProject );
m_mainToolBar->Add( KICAD_MANAGER_ACTIONS::newFromTemplate );
m_mainToolBar->Add( KICAD_MANAGER_ACTIONS::openProject );
m_mainToolBar->AddScaledSeparator( this );