# HG changeset patch # User Andrey Skvortsov # Date 1477574653 -10800 # Node ID abe55de5316b4267ca221afba8588cd650d150a2 # Parent 9a59d1de198a93f7ce1e2cd47c486f988b992065 fix issue that sometimes period for cyclic task wasn't saved. This is complete fix for the problem described in 8626bba. diff -r 9a59d1de198a -r abe55de5316b controls/DurationCellEditor.py --- 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,