← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Incorrect save-on-quit in pcbnew with unsaved board

 

Le 16/03/2015 21:12, Chris Pavlina a écrit :
> In pcbnew, if you exit with a new (totally unsaved, but not empty) board
> open, and click 'yes' in the save-on-exit box, an error is raised due to
> passing an empty filename string to the save routine. Correct behavior
> is to execute a 'save as' if the filename is still blank.
> 
> Attached is a patch that does this.
> 
> Chris

I committed you patch, with minor changes (comments added, and slightly
simplified the code)

Thanks.


-- 
Jean-Pierre CHARRAS


References