Pcbnew: Update PCB from schematic: try to load .kicad_sch file instead of .sch file
This commit is contained in:
parent
c66bf3df67
commit
c3b50d38dd
|
@ -1001,7 +1001,7 @@ bool PCB_EDIT_FRAME::FetchNetlistFromSchematic( NETLIST& aNetlist, FETCH_NETLIST
|
|||
|
||||
if( !frame->IsShown() )
|
||||
{
|
||||
wxFileName schfn( Prj().GetProjectPath(), Prj().GetProjectName(), LegacySchematicFileExtension );
|
||||
wxFileName schfn( Prj().GetProjectPath(), Prj().GetProjectName(), KiCadSchematicFileExtension );
|
||||
|
||||
frame->OpenProjectFiles( std::vector<wxString>( 1, schfn.GetFullPath() ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue