aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table')
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-cell-text.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 24500392b0..9c979e5ea7 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-13 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-cell-text.c: Fixed a crashing bug when you cancel an edit.
+
2000-03-12 Christopher James Lahey <clahey@helixcode.com>
* e-table.c: Made this use an ECanvas. Fixed a bug where
diff --git a/widgets/e-table/e-cell-text.c b/widgets/e-table/e-cell-text.c
index 422b27ff93..91ead8d798 100644
--- a/widgets/e-table/e-cell-text.c
+++ b/widgets/e-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;