Fix bug with DurationCellEditor value not saved when modified
authorlaurent
Sat, 31 Mar 2012 13:16:44 +0200
changeset 663 6ea5c76ea7bc
parent 662 3c4e0d4f7a61
child 664 02e8c6e882af
Fix bug with DurationCellEditor value not saved when modified
controls/DurationCellEditor.py
--- a/controls/DurationCellEditor.py	Sat Mar 31 13:14:53 2012 +0200
+++ b/controls/DurationCellEditor.py	Sat Mar 31 13:16:44 2012 +0200
@@ -140,7 +140,7 @@
         if changed:
             self.Table.SetValueByName(row, 'Interval', duration)
         self.CellControl.Disable()
-        return False
+        return changed
 
     def SetSize(self, rect):
         self.CellControl.SetDimensions(rect.x + 1, rect.y,