Don't open a non-existant jobset.

This commit is contained in:
Jeff Young 2025-01-04 13:39:36 +00:00
parent 32a575d3ad
commit 043fb29589

View File

@ -804,6 +804,8 @@ void KICAD_MANAGER_FRAME::LoadProject( const wxFileName& aProjectFileName )
{
wxFileName jobsetFn( jobset );
jobsetFn.MakeAbsolute( Prj().GetProjectPath() );
if( jobsetFn.Exists() )
OpenJobsFile( jobsetFn.GetFullPath(), false, false );
}