controls/CustomTable.py
changeset 662 3c4e0d4f7a61
parent 606 d65122c61eaf
child 684 f10449b18dbe
--- a/controls/CustomTable.py	Tue Mar 27 23:59:35 2012 +0200
+++ b/controls/CustomTable.py	Sat Mar 31 13:14:53 2012 +0200
@@ -69,6 +69,7 @@
         (wx.grid.Grid) -> Reset the grid view.   Call this to
         update the grid if rows and columns have been added or deleted
         """
+        grid.CloseEditControl()
         grid.BeginBatch()
         for current, new, delmsg, addmsg in [
             (self._rows, self.GetNumberRows(), wx.grid.GRIDTABLE_NOTIFY_ROWS_DELETED, wx.grid.GRIDTABLE_NOTIFY_ROWS_APPENDED),