← Back to team overview

kicad-developers team mailing list archive

EESchema save project file behavior.

 

Does anyone know why the wxFileDialog is displayed every time the project
(.pro) file is saved?  None of the other files saved by EESchema exhibit this
behavior.  It seems to me that this should be transparent to the user.  If the
project file needs to be saved to a different file and/or folder, there should
probably be a separate "Save Project As" command in the file menu.  I also find
it strange that the project file is not saved when the rest of the schematic is
saved in the SCH_EDIT_FRAME::SaveProject() function.  The reason I am asking is
I am adding checks to make sure the user has write privileges before attempting
to save any files to prevent a bunch of file write errors and apparently a
crash bug (https://bugs.launchpad.net/kicad/+bug/811118) on some systems.  If
no one has any objections, I'll make the changes to the save project file
function and add a save project as command along with the user privilege checks.

Wayne


Follow ups