controls/LocationCellEditor.py
changeset 1540 cf1df00e6f86
parent 1536 3518d10487db
child 1550 deadfe7377e9
--- a/controls/LocationCellEditor.py	Wed Oct 05 18:11:52 2016 +0300
+++ b/controls/LocationCellEditor.py	Thu Oct 06 11:30:04 2016 +0300
@@ -176,7 +176,7 @@
     else:
         def EndEdit(self, row, col, grid):
             old_loc = self.Table.GetValueByName(row, 'Location')            
-            self.EndEditInternal(row, col, grid, oldval)
+            self.EndEditInternal(row, col, grid, old_loc)
     
     def SetSize(self, rect):
         self.CellControl.SetDimensions(rect.x + 1, rect.y,