complete fix in commit 3518d10 for wxgtk2.8
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 06 Oct 2016 11:30:04 +0300
changeset 1540 cf1df00e6f86
parent 1539 8e5c03798abc
child 1541 9be98ccfed97
complete fix in commit 3518d10 for wxgtk2.8
controls/LocationCellEditor.py
--- 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,