add missing brackets for kwargs fitmodel editor

This commit is contained in:
Dominik Demuth 2023-12-27 14:55:13 +01:00
parent 969a400820
commit 3b934ae7a1

View File

@ -215,7 +215,7 @@ class KwargsWidget(QtWidgets.QWidget):
for i in range(self.choices.count()):
kwargs.append(self.choices.widget(i).get_strings())
if kwargs:
return f" choices = {', '.join(kwargs)}\n"
return f" choices = [{', '.join(kwargs)}]\n"
else:
return ''