Draft: Resolve "GUI Scan: switching from simple to extended mode should keep the values for the common fields"
requested to merge 43-gui-scan-switching-from-simple-to-extended-mode-should-keep-the-values-for-the-common-fields into master
Closes #43
The values are now persistent in the following cases:
- when switching between Simple / Extended / All modes;
- when switching between Relative / Absolute modes (start/end for absolute scan are calculated from range entered in relative scan and current motor position, range for relative scan is calculated as difference between start/stop in absolute scan);
- when changing motor selection;
Last one is arguable - we may see if we want to keep it or not.
Tested with example setup for 1D Step / Fly and 2D Step / Fly scans.