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]
|
res = self._results[set_id]
|
||||||
self.param_tableWidget.setRowCount(len(res.parameter))
|
self.param_tableWidget.setRowCount(len(res.parameter))
|
||||||
for j, pvalue in enumerate(res.parameter.values()):
|
for j, (pkey, pvalue) in enumerate(res.parameter.items()):
|
||||||
name = pvalue.name
|
name = pkey
|
||||||
p_header = QtWidgets.QTableWidgetItem(convert(name, 'tex', 'str', brackets=True))
|
p_header = QtWidgets.QTableWidgetItem(convert(name, 'tex', 'str', brackets=True))
|
||||||
self.param_tableWidget.setVerticalHeaderItem(j, p_header)
|
self.param_tableWidget.setVerticalHeaderItem(j, p_header)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user