diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index 65e18faa09..086379eeff 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -1054,7 +1054,7 @@ void PCB_EDIT_FRAME::RunEeschema() { wxString msg; wxFileName schfn( Prj().GetProjectPath(), Prj().GetProjectName(), - LegacySchematicFileExtension ); + KiCadSchematicFileExtension ); if( !schfn.FileExists() ) {