# HG changeset patch # User Edouard Tisserant # Date 1713164999 -7200 # Node ID 62d04933d56922fa44747afd24509f1311ed1f5b # Parent 1c0263e2b3b17142ce0b6964268a28125225ecda IDE: Fix Variable grid ignoring edits. WxPython4 consequence. diff -r 1c0263e2b3b1 -r 62d04933d569 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)