display parameter name with number ind window
This commit is contained in:
parent
1e9a390ae2
commit
f60e125487
@ -113,8 +113,8 @@ class QFitResult(QtWidgets.QDialog, Ui_Dialog):
|
||||
|
||||
res = self._results[set_id]
|
||||
self.param_tableWidget.setRowCount(len(res.parameter))
|
||||
for j, pvalue in enumerate(res.parameter.values()):
|
||||
name = pvalue.name
|
||||
for j, (pkey, pvalue) in enumerate(res.parameter.items()):
|
||||
name = pkey
|
||||
p_header = QtWidgets.QTableWidgetItem(convert(name, 'tex', 'str', brackets=True))
|
||||
self.param_tableWidget.setVerticalHeaderItem(j, p_header)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user