wrong addition to parameter length in iterator #278
| @@ -495,7 +495,7 @@ class QFitDialog(QtWidgets.QWidget, Ui_FitDialog): | ||||
|             if model_p['active']: | ||||
|                 cnt += self.param_widgets[model_p['cnt']].set_parameter(fit_id, param[cnt:]) | ||||
|                 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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user