The scanning settings were not updated in the GUI when set via the logic.
Description
Added signal to update the GUI when the scan settings are changed via the logic. Also introduced wrapper functions for setting the scan settings and back scan settings. Additionally, stashed the current scan settings before optimizing the position and after restored them again.
Motivation and Context
Some scripts require the scan settings to be set via the logic and not via the GUI.
How Has This Been Tested?
The changes were tested via the dummy module.
Types of changes
[x] Bug fix
[ ] New feature
[ ] Breaking change (Causes existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[ ] I have documented my changes in /docs/changelog.md.
[ ] My change requires additional/updated documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added/updated the config example for any module docstrings as necessary.
[x] I have checked that the change does not contain obvious errors
(syntax, indentation, mutable default values, etc.).
[x] I have tested my changes using 'Load all modules' on the default dummy configuration.
[ ] All changed Jupyter notebooks have been stripped of their output cells.
The scanning settings were not updated in the GUI when set via the logic.
Description
Added signal to update the GUI when the scan settings are changed via the logic. Also introduced wrapper functions for setting the scan settings and back scan settings. Additionally, stashed the current scan settings before optimizing the position and after restored them again.
Motivation and Context
Some scripts require the scan settings to be set via the logic and not via the GUI.
How Has This Been Tested?
The changes were tested via the dummy module.
Types of changes
Checklist:
/docs/changelog.md
.