Move the import non-kicad schematic item to the import submenu

This matches its location in Pcbnew.
This commit is contained in:
Ian McInerney 2020-05-06 22:37:40 +01:00
parent 18cd0cdb58
commit 1443d69f00
1 changed files with 4 additions and 4 deletions

View File

@ -88,10 +88,6 @@ void SCH_EDIT_FRAME::ReCreateMenuBar()
_( "Append schematic sheet content from another project to the current sheet" ), _( "Append schematic sheet content from another project to the current sheet" ),
add_document_xpm, EE_CONDITIONS::ShowAlways ); add_document_xpm, EE_CONDITIONS::ShowAlways );
fileMenu->AddItem( ID_IMPORT_NON_KICAD_SCH, _( "Import Non KiCad Schematic..." ),
_( "Replace current schematic sheet with one imported from another application" ),
import_document_xpm, EE_CONDITIONS::ShowAlways );
fileMenu->AddSeparator(); fileMenu->AddSeparator();
// Import submenu // Import submenu
@ -99,6 +95,10 @@ void SCH_EDIT_FRAME::ReCreateMenuBar()
submenuImport->SetTool( selTool ); submenuImport->SetTool( selTool );
submenuImport->SetTitle( _( "Import" ) ); submenuImport->SetTitle( _( "Import" ) );
submenuImport->SetIcon( import_xpm ); submenuImport->SetIcon( import_xpm );
submenuImport->Add( _( "Import Non KiCad Schematic..." ),
_( "Replace current schematic sheet with one imported from another application" ),
ID_IMPORT_NON_KICAD_SCH, import_document_xpm );
submenuImport->Add( EE_ACTIONS::importFPAssignments ); submenuImport->Add( EE_ACTIONS::importFPAssignments );
fileMenu->AddMenu( submenuImport, EE_CONDITIONS::ShowAlways ); fileMenu->AddMenu( submenuImport, EE_CONDITIONS::ShowAlways );