scan control infinite while loop
Description
If the previous scan had fewer arguments than there were arg bundles in the ScanGroupBox
, the ScanControls
component could enter an infinite loop.
This update ensures that the argument box is always regenerated when restoring parameters from a previous scan, preventing such issues.
Related Issues
Closes #550 (closed)
Type of Change
-
fix:
ScanControl
now always regenerates the argument box to avoid infinite loops.
Additional Comments
Try to reproduce the issue by passing some None
values into the scan control widget while restoring parameters from the last scan.
Edited by wyzula_j