[Mod]AlgoSettingMonitor增加更新templateName
This commit is contained in:
parent
893940de6f
commit
252e78996c
@ -342,6 +342,7 @@ class AlgoSettingMonitor(QtWidgets.QTableWidget):
|
|||||||
|
|
||||||
self.cellDict[settingName] = {
|
self.cellDict[settingName] = {
|
||||||
'start': buttonStart,
|
'start': buttonStart,
|
||||||
|
'template': cellTemplateName,
|
||||||
'text': cellSettingText,
|
'text': cellSettingText,
|
||||||
'delete': buttonDelete
|
'delete': buttonDelete
|
||||||
}
|
}
|
||||||
@ -349,6 +350,7 @@ class AlgoSettingMonitor(QtWidgets.QTableWidget):
|
|||||||
else:
|
else:
|
||||||
d = self.cellDict[settingName]
|
d = self.cellDict[settingName]
|
||||||
d['start'].updateSetting(setting)
|
d['start'].updateSetting(setting)
|
||||||
|
d['template'].setText(setting['templateName'])
|
||||||
d['text'].setText(self.generateText(setting))
|
d['text'].setText(self.generateText(setting))
|
||||||
d['delete'].updateSetting(setting)
|
d['delete'].updateSetting(setting)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user