--- a/bacnet/BacnetSlaveEditor.py Tue Aug 20 01:26:58 2024 +0200
+++ b/bacnet/BacnetSlaveEditor.py Sat Aug 17 18:44:12 2024 +0200
@@ -828,7 +828,7 @@
# use only to enable drag'n'drop
# self.VariablesGrid.SetDropTarget(VariableDropTarget(self))
self.VariablesGrid.Bind(
- wx.grid.EVT_GRID_CELL_CHANGING, self.OnVariablesGridCellChange)
+ wx.grid.EVT_GRID_CELL_CHANGED, self.OnVariablesGridCellChange)
# self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, self.OnVariablesGridCellLeftClick)
# self.VariablesGrid.Bind(wx.grid.EVT_GRID_EDITOR_SHOWN, self.OnVariablesGridEditorShown)
self.MainSizer.Add(self.VariablesGrid, flag=wx.GROW)
--- a/dialogs/ActionBlockDialog.py Tue Aug 20 01:26:58 2024 +0200
+++ b/dialogs/ActionBlockDialog.py Sat Aug 17 18:44:12 2024 +0200
@@ -148,7 +148,7 @@
self.ActionsGrid = CustomGrid(self, size=wx.Size(-1, 250), style=wx.VSCROLL)
self.ActionsGrid.DisableDragGridSize()
self.ActionsGrid.EnableScrolling(False, True)
- self.ActionsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING,
+ self.ActionsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGED,
self.OnActionsGridCellChange)
main_sizer.Add(self.ActionsGrid, border=20,
flag=wx.GROW | wx.LEFT | wx.RIGHT)
--- a/etherlab/ConfigEditor.py Tue Aug 20 01:26:58 2024 +0200
+++ b/etherlab/ConfigEditor.py Sat Aug 17 18:44:12 2024 +0200
@@ -672,7 +672,7 @@
self.ProcessVariablesGrid = CustomGrid(self.EthercatMasterEditor, style=wx.VSCROLL)
self.ProcessVariablesGrid.SetMinSize(wx.Size(0, 150))
self.ProcessVariablesGrid.SetDropTarget(ProcessVariableDropTarget(self))
- self.ProcessVariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING,
+ self.ProcessVariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGED,
self.OnProcessVariablesGridCellChange)
self.ProcessVariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK,
self.OnProcessVariablesGridCellLeftClick)
@@ -697,7 +697,7 @@
self.StartupCommandsGrid = CustomGrid(self.EthercatMasterEditor, style=wx.VSCROLL)
self.StartupCommandsGrid.SetDropTarget(StartupCommandDropTarget(self))
self.StartupCommandsGrid.SetMinSize(wx.Size(0, 150))
- self.StartupCommandsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING,
+ self.StartupCommandsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGED,
self.OnStartupCommandsGridCellChange)
self.StartupCommandsGrid.Bind(wx.grid.EVT_GRID_EDITOR_SHOWN,
self.OnStartupCommandsGridEditorShow)