馃悰 If a user attempts to open a previously saved session before the session that the user was editing was saved, the OpenSessionModal will not appear
Summary
If a user attempts to open a previously saved session before the session that the user was editing was saved, the OpenSessionModal will not appear
Steps to reproduce
- Launch Scenic
- Instantiate any number of Sources, Destinations, whatever
- Open the Open file drawer, select a file, and select Open
- Re-initialize the session, repeat the same steps, but save the session file before attempting to open the previously saved session
What is the current bug behavior?
If the user has not saved the session, the OpenSessionModal will not appear
What is the expected correct behavior?
The modal should appear if the user is going to lose changes
What is the frequency of occurrence of this behavior ?
100%
Relevant logs and/or screenshots
OpenSessionModal_doesn_t_appear_before_saving
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Additional comments
(Add references to related issues and provide any extra comments.)
/cc @flecavalier