I think this is not really a bug, but a sequence of process & me not knowing the backup file was loaded & I continue editing circuit & press save as normal.
After an app crash the xxx_backup.simu file is auto loaded next start.
clicking save button saves the xxx_backup.simu file, but it will be deleted upon exit. (also same if click 'Save' button in MainWindow::closeEvent.
"Circuit has been modified. Do you want to save your changes?")
Maybe a popup message when the app starts with "xxx_backup.simu" loaded & prompt user to 'save_as' before continue or confirm file use xxx.simu (without '_backup').
I should remember now to save_as after an app crash now I know.
Its easy to test by copy the last used file back to the folder with xxx_backup.simu, then start app.
After an app crash the xxx_backup.simu file is auto loaded next start.
clicking save button saves the xxx_backup.simu file, but it will be deleted upon exit. (also same if click 'Save' button in MainWindow::closeEvent.
"Circuit has been modified. Do you want to save your changes?")
Maybe a popup message when the app starts with "xxx_backup.simu" loaded & prompt user to 'save_as' before continue or confirm file use xxx.simu (without '_backup').
I should remember now to save_as after an app crash now I know.
Its easy to test by copy the last used file back to the folder with xxx_backup.simu, then start app.
Last edited by arcachofo on Fri Dec 24, 2021 2:52 am; edited 1 time in total (Reason for editing : Marked as solved (green color))