--- a/controls/LocationCellEditor.py Mon Oct 24 18:02:53 2016 +0300
+++ b/controls/LocationCellEditor.py Wed Oct 26 15:51:20 2016 +0300
@@ -172,11 +172,11 @@
if wx.VERSION >= (3, 0, 0):
def EndEdit(self, row, col, grid, oldval):
- self.EndEditInternal(row, col, grid, oldval)
+ return self.EndEditInternal(row, col, grid, oldval)
else:
def EndEdit(self, row, col, grid):
old_loc = self.Table.GetValueByName(row, 'Location')
- self.EndEditInternal(row, col, grid, old_loc)
+ return self.EndEditInternal(row, col, grid, old_loc)
def SetSize(self, rect):
self.CellControl.SetDimensions(rect.x + 1, rect.y,