controls/DurationCellEditor.py
changeset 1553 abe55de5316b
parent 1499 8626bba4b2a8
child 1571 486f94a8032c
--- a/controls/DurationCellEditor.py	Thu Oct 27 15:31:43 2016 +0300
+++ b/controls/DurationCellEditor.py	Thu Oct 27 16:24:13 2016 +0300
@@ -128,11 +128,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):
             oldval = self.Table.GetValueByName(row, self.Colname)            
-            self.EndEditInternal(row, col, grid, oldval)    
+            return self.EndEditInternal(row, col, grid, oldval)    
 
     def SetSize(self, rect):
         self.CellControl.SetDimensions(rect.x + 1, rect.y,