[Mod]AlgoSettingMonitor增加更新templateName

This commit is contained in:
vn.py 2018-06-10 21:13:21 +08:00
parent 893940de6f
commit 252e78996c

View File

@ -342,6 +342,7 @@ class AlgoSettingMonitor(QtWidgets.QTableWidget):
self.cellDict[settingName] = {
'start': buttonStart,
'template': cellTemplateName,
'text': cellSettingText,
'delete': buttonDelete
}
@ -349,6 +350,7 @@ class AlgoSettingMonitor(QtWidgets.QTableWidget):
else:
d = self.cellDict[settingName]
d['start'].updateSetting(setting)
d['template'].setText(setting['templateName'])
d['text'].setText(self.generateText(setting))
d['delete'].updateSetting(setting)