From 414ebc88ef64a58cfbd63236515009d0bd51b7d2 Mon Sep 17 00:00:00 2001 From: Michel Boaventura Date: Sat, 8 May 2010 10:58:59 -0700 Subject: [PATCH] gui: Fix crash clicking on the upper-left corner of the data sheet. Bug #29659. --- lib/gtk-contrib/psppire-sheet.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/gtk-contrib/psppire-sheet.c b/lib/gtk-contrib/psppire-sheet.c index 89fd45d3..b4861713 100644 --- a/lib/gtk-contrib/psppire-sheet.c +++ b/lib/gtk-contrib/psppire-sheet.c @@ -3022,9 +3022,7 @@ psppire_sheet_click_cell (PsppireSheet *sheet, gint row, gint column) sheet->range.row0 = 0; sheet->range.col0 = 0; sheet->range.rowi = psppire_axis_unit_count (sheet->vaxis) - 1; - sheet->range.coli = - psppire_axis_unit_count (sheet->haxis) - 1; - psppire_sheet_select_range (sheet, NULL); + sheet->range.coli = psppire_axis_unit_count (sheet->haxis) - 1; return TRUE; } -- 2.30.2