Open-Systems-Pharmacology / PK-Sim

PK-Sim® is a comprehensive software tool for whole-body physiologically based pharmacokinetic modeling
Other
100 stars 49 forks source link

Unsaved project and loading from snapshot #2794

Closed Yuri05 closed 9 months ago

Yuri05 commented 9 months ago

If I have a project with unsaved changes and I want to open another project - I am asked to save the project. If I say No and don't save the project, but later on in the file selection dialog for the new project I click on Cancel - my unsaved project is still kept in PK-Sim. This is quite nice and I like this behavior (sometimes I'm too fast in saying "No" in the first step :))

However, if in the same scenario I want to open the new project from snapshot - my unsaved project is closed. Would be nice to have here the same approach (Cancel in "Select snapshot file" dialog => unsaved project is kept in PK-Sim)