From: Michel Boaventura Date: Sat, 8 May 2010 17:58:59 +0000 (-0700) Subject: gui: Fix crash clicking on the upper-left corner of the data sheet. X-Git-Tag: v0.7.5~34 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=414ebc88ef64a58cfbd63236515009d0bd51b7d2;p=pspp-builds.git gui: Fix crash clicking on the upper-left corner of the data sheet. Bug #29659. --- 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; }