From be929d90413e911ca9f893ed968c2489961e79d6 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 28 Oct 2001 05:34:31 +0000 Subject: Fix crash here. 2001-10-28 Christopher James Lahey * e-table.c (table_canvas_focus_event_cb): Fix crash here. svn path=/trunk/; revision=14279 --- widgets/table/e-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 9cd926d342..0d860ac29b 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -785,7 +785,7 @@ table_canvas_focus_event_cb (GtkWidget *widget, GdkEventFocus *event, gpointer d canvas = GNOME_CANVAS (widget); etable = E_TABLE (data); - if (!canvas->focused_item) + if (!canvas->focused_item && etable->group) focus_first_etable_item (etable->group); return TRUE; -- cgit