# HG changeset patch # User Edouard Tisserant # Date 1714030629 -7200 # Node ID 8072072038d21db19873b94be64d0f5dabe9e1c2 # Parent 6750083ae87820be6bb975776ecb8ca29a7b2188 BACnet: Fixed grid cell choice editor. Consequence of wxPython4. diff -r 6750083ae878 -r 8072072038d2 bacnet/BacnetSlaveEditor.py --- 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",