IDE: Fix Variable grid ignoring edits. WxPython4 consequence.
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Mon, 15 Apr 2024 09:09:59 +0200
changeset 3932 62d04933d569
parent 3931 1c0263e2b3b1
child 3933 6750083ae878
child 3936 129202e555e0
IDE: Fix Variable grid ignoring edits. WxPython4 consequence.
editors/CodeFileEditor.py
--- a/editors/CodeFileEditor.py	Mon Apr 15 09:08:09 2024 +0200
+++ b/editors/CodeFileEditor.py	Mon Apr 15 09:09:59 2024 +0200
@@ -692,7 +692,7 @@
             controls_sizer.Add(button, border=5, flag=wx.BOTTOM)
 
         self.VariablesGrid = CustomGrid(self, style=wx.VSCROLL)
-        self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING, self.OnVariablesGridCellChange)
+        self.VariablesGrid.Bind(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)
         main_sizer.Add(self.VariablesGrid, flag=wx.GROW)