Fix doubled module info

Change-Id: Ic406471a28f0c891323b990760ffd721ed419e12
Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/30667
Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de>
Reviewed-by: Alexander Zaft <a.zaft@fz-juelich.de>
This commit is contained in:
Alexander Zaft 2023-03-13 10:01:33 +01:00 committed by Markus Zolliker
parent 80b1932f39
commit 5c2b4c6491

View File

@ -226,11 +226,11 @@ class ModuleWidget(QWidget):
def _initModuleInfo(self):
props = dict(self._node.getModuleProperties(self._name))
self.moduleName.setText(self._name)
self.moduleDescription.setText(props.get('description',
self.moduleDescription.setText(props.pop('description',
'no description provided'))
self.groupInfo.setText(props.get('group', '-'))
feats = ','.join(props.get('features', [])) or '-'
self.groupInfo.setText(props.pop('group', '-'))
feats = ','.join(props.pop('features', [])) or '-'
self.featuresInfo.setText(feats)
self.implementationInfo.setText(props.pop('implementation', 'MISSING'))
ifaces = ','.join(props.pop('interface_classes', [])) or '-'