← Back to team overview

kicad-developers team mailing list archive

Re: PATCH: opening *.pro in current directory gives error message

 

Le 28/07/2014 15:20, Dick Hollenbeck a écrit :
> Thanks Henner:
> 
> I'll look at this now.  The surprise is the inconsistency of the file dialog, which
> normally returns a full path, but here not.  An assert would have caught that assumption,
> my mistake.
> 
> In the multiple open projects scenario, changing the directory (CWD) will go away.
> 
> So I won't use your patch as is.  But thanks for the diagnosis.
> 
> PROJECT::SetProjectFullName() requires a full path.  So we'll have to come up with that.
> 
> I'll fix this this morning.
> 
> Dick

In fact I know one case where a path is not usually given:
When you run kicad (and only kicad) by hand from a command line and your
command is:
kicad myproject.pro

and myproject.pro is in the cwd.

-- 
Jean-Pierre CHARRAS


Follow ups

References