Bug fixes.

This commit is contained in:
lwark
2024-08-15 09:30:43 -05:00
parent 1a55b52f31
commit 6c0795e92e
7 changed files with 62 additions and 38 deletions

View File

@@ -60,7 +60,7 @@ class EquipmentUsage(QDialog):
output.append(widget.parse_form())
case _:
pass
logger.debug(f"parsed output of Equsage form: {pformat(output)}")
# logger.debug(f"parsed output of Equsage form: {pformat(output)}")
try:
return [item.strip() for item in output if item is not None]
except AttributeError:
@@ -169,7 +169,7 @@ class RoleComboBox(QWidget):
eq = Equipment.query(name=self.box.currentText())
tips = [PydTips(name=item.currentText(), role=item.objectName().lstrip("tips").lstrip("_")) for item in
self.findChildren(QComboBox) if item.objectName().startswith("tips")]
logger.debug(tips)
# logger.debug(tips)
try:
return PydEquipment(
name=eq.name,