GUI: crash on specular simulation with data

  1. Create Instrument and Sample
  2. Load reflectometry data, link with instrument
  3. Choose data in Simulation view
  4. Run simulation --> crash

In Debug mode one can see the message:

Screenshot_from_2022-06-15_15-41-17