From 2e19c1630acc12875081163e20ddd9538dafd741 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 13 Mar 2000 16:57:15 +0000 Subject: Fixed a crashing bug when you cancel an edit. 2000-03-13 Christopher James Lahey * e-cell-text.c: Fixed a crashing bug when you cancel an edit. svn path=/trunk/; revision=2113 --- widgets/table/e-cell-text.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widgets/table/e-cell-text.c') diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 422b27ff93..91ead8d798 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -234,6 +234,9 @@ ect_stop_editing (ECellTextView *text_view) CellEdit *edit = text_view->edit; int row, view_col; + if ( !edit ) + return; + row = edit->cell.row; view_col = edit->cell.view_col; -- cgit