Fixed bug in when deleting row in CustomGrid
authorLaurent Bessard
Thu, 30 May 2013 11:43:46 +0200
changeset 1197 eb118ed5cbe0
parent 1196 d2f4061cdff5
child 1198 8b4e6bd0aa92
Fixed bug in when deleting row in CustomGrid
controls/CustomGrid.py
--- a/controls/CustomGrid.py	Thu May 30 11:36:47 2013 +0200
+++ b/controls/CustomGrid.py	Thu May 30 11:43:46 2013 +0200
@@ -118,7 +118,7 @@
             if new_row != row:
                 self.Table.ResetView(self)
         if new_row != row:
-            self.SetSelectedRow(new_row, col)
+            self.SetSelectedCell(new_row, col)
     
     def SetSelectedCell(self, row, col):
         self.SetGridCursor(row, col)