mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
Don't open a non-existant jobset.
This commit is contained in:
parent
32a575d3ad
commit
043fb29589
@ -804,7 +804,9 @@ void KICAD_MANAGER_FRAME::LoadProject( const wxFileName& aProjectFileName )
|
|||||||
{
|
{
|
||||||
wxFileName jobsetFn( jobset );
|
wxFileName jobsetFn( jobset );
|
||||||
jobsetFn.MakeAbsolute( Prj().GetProjectPath() );
|
jobsetFn.MakeAbsolute( Prj().GetProjectPath() );
|
||||||
OpenJobsFile( jobsetFn.GetFullPath(), false, false );
|
|
||||||
|
if( jobsetFn.Exists() )
|
||||||
|
OpenJobsFile( jobsetFn.GetFullPath(), false, false );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rebuild the list of watched paths.
|
// Rebuild the list of watched paths.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user