Correct path of pcb drawing sheet file on saveAs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15551
This commit is contained in:
Jeff Young 2023-09-21 17:02:15 +01:00
parent 1f99a5caa6
commit 722a90213c
1 changed files with 1 additions and 0 deletions

View File

@ -613,6 +613,7 @@ bool PROJECT_FILE::SaveAs( const wxString& aDirectory, const wxString& aFile )
updatePathByPtr( "schematic.page_layout_descr_file" );
updatePathByPtr( "schematic.plot_directory" );
updatePathByPtr( "schematic.ngspice.workbook_filename" );
updatePathByPtr( "pcbnew.page_layout_descr_file" );
// While performing Save As, we have already checked that we can write to the directory
// so don't carry the previous flag