BACnet: Fixed grid cell choice editor. Consequence of wxPython4.
--- a/bacnet/BacnetSlaveEditor.py Wed Apr 24 17:02:28 2024 +0200
+++ b/bacnet/BacnetSlaveEditor.py Thu Apr 25 09:37:09 2024 +0200
@@ -367,7 +367,7 @@
"Engineering Units": {"GridCellEditor": wx.grid.GridCellChoiceEditor,
# use string renderer with choice editor!
"GridCellRenderer": wx.grid.GridCellStringRenderer,
- "GridCellEditorConstructorArgs": [x[0] for x in BACnetEngineeringUnits]}
+ "GridCellEditorConstructorArgs": [[x[0] for x in BACnetEngineeringUnits]]}
}
# obj_properties should be a dictionary, with keys "Object Identifier",