- Load a fitted model which compose of some peak_models (JSON file)
- Apply the loaded model to a spectrum.
- Open "Parameter" and delete one or more 'peak_model'.
- Back to the GUI and apply the 'loaded model' again to the spectrum -> BUG
==> The parameters do not show the peak parameters correctly. This is because the length of the 'peak_models' and 'peak_labels' lists is now different.
Steps to reproduce the bug:
==> The parameters do not show the peak parameters correctly. This is because the length of the 'peak_models' and 'peak_labels' lists is now different.