fix issue that sometimes period for cyclic task wasn't saved.
This is complete fix for the problem described in 8626bba.
--- 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,