Remove gratuitous call to change_active_cell.
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 14 May 2009 08:19:09 +0000 (16:19 +0800)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 14 May 2009 08:19:09 +0000 (16:19 +0800)
This caused data from the previous cell to
be transfered to the new cell.  Fixes bug #26568

lib/gtk-contrib/psppire-sheet.c

index f68ccad3d8b0e544973563216da6daccabe23ac9..4baa27ddc1fa2bc4f1f4fd2d3cb98ae67fc4a93a 100644 (file)
@@ -3181,9 +3181,6 @@ psppire_sheet_unselect_range (PsppireSheet *sheet)
 
   psppire_sheet_real_unselect_range (sheet, NULL);
   sheet->state = GTK_STATE_NORMAL;
-
-  change_active_cell (sheet,
-                sheet->active_cell.row, sheet->active_cell.col);
 }