wrong addition to parameter length in iterator (#278)
All checks were successful
Build AppImage / Explore-Gitea-Actions (push) Successful in 1m33s
All checks were successful
Build AppImage / Explore-Gitea-Actions (push) Successful in 1m33s
fixes #277 Reviewed-on: #278
This commit is contained in:
parent
8f92d8d822
commit
a2a95e796a
@ -495,7 +495,7 @@ class QFitDialog(QtWidgets.QWidget, Ui_FitDialog):
|
|||||||
if model_p['active']:
|
if model_p['active']:
|
||||||
cnt += self.param_widgets[model_p['cnt']].set_parameter(fit_id, param[cnt:])
|
cnt += self.param_widgets[model_p['cnt']].set_parameter(fit_id, param[cnt:])
|
||||||
if model_p['children']:
|
if model_p['children']:
|
||||||
cnt += self.set_parameter_iter(fit_id, param, model_p['children'], cnt=cnt)
|
cnt = self.set_parameter_iter(fit_id, param, model_p['children'], cnt=cnt)
|
||||||
|
|
||||||
return cnt
|
return cnt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user