Describe the bug
In beta 6, settings are saved in the underlying xml file. When a user wants to open a new model file, Uppaal checks whether there are changes not saved before actually letting the user load a new model. When unsaved changes are detected, the user is asked whether these changes needs to be saved or not. Unfortunately, this prompt is also shown to the user when changes in settings are already saved.
To Reproduce
Steps to reproduce the behavior:
Change a setting trough the Options drop-down menu, for example, set the discretization step for hybrid systems to 1 instead of the default 0.01.
Save the model.
Verify that the new setting has been saved by opening the xml view of the model (in for example a text editor) and look for the <option/> tag.
Request Uppaal to open a system.
A 'Save System' prompt is now opened.
Expected behavior
Uppaal should recognize that the changed settings have already been saved.
Uppaal version
Upaal Stratego version 8 beta 6.
Desktop
OS: Ubuntu 20.04.1 LTS.
Additional context
The prompt is not shown when settings are reset by pressing Clear option overrides and saving the model before opening another one.
Describe the bug In beta 6, settings are saved in the underlying xml file. When a user wants to open a new model file, Uppaal checks whether there are changes not saved before actually letting the user load a new model. When unsaved changes are detected, the user is asked whether these changes needs to be saved or not. Unfortunately, this prompt is also shown to the user when changes in settings are already saved.
To Reproduce Steps to reproduce the behavior:
<option/>
tag.Expected behavior Uppaal should recognize that the changed settings have already been saved.
Uppaal version
Desktop
Additional context The prompt is not shown when settings are reset by pressing
Clear option overrides
and saving the model before opening another one.