# HG changeset patch
# User Edouard Tisserant <edouard.tisserant@gmail.com>
# Date 1637089850 -3600
# Node ID 6cde1a3ded58af7a600f64940b08d9f0e01b1094
# Parent  c3d462118d37fe05299c60fc56a2622744a220be
Fix bug when updating data in variable panel.

Grid event naming CHANGE->CHANGING was wrong. CHANGE->CHANGED is the way to go.

diff -r c3d462118d37 -r 6cde1a3ded58 controls/VariablePanel.py
--- a/controls/VariablePanel.py	Fri Oct 29 18:20:03 2021 +0200
+++ b/controls/VariablePanel.py	Tue Nov 16 20:10:50 2021 +0100
@@ -493,7 +493,7 @@
 
         self.VariablesGrid = CustomGrid(self, style=wx.VSCROLL | wx.HSCROLL)
         self.VariablesGrid.SetDropTarget(VariableDropTarget(self))
-        self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING,
+        self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGED,
                                 self.OnVariablesGridCellChange)
         self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK,
                                 self.OnVariablesGridCellLeftClick)