aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-28 13:34:31 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-28 13:34:31 +0800
commitbe929d90413e911ca9f893ed968c2489961e79d6 (patch)
tree195c02a1fa5280543331b8e0ec0ab9409394fa04 /widgets/table
parent34ee55327662437beb97f250feecb2a98c8c177b (diff)
downloadgsoc2013-evolution-be929d90413e911ca9f893ed968c2489961e79d6.tar.gz
gsoc2013-evolution-be929d90413e911ca9f893ed968c2489961e79d6.tar.zst
gsoc2013-evolution-be929d90413e911ca9f893ed968c2489961e79d6.zip
Fix crash here.
2001-10-28 Christopher James Lahey <clahey@ximian.com> * e-table.c (table_canvas_focus_event_cb): Fix crash here. svn path=/trunk/; revision=14279
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table.c2
1 files changed, 1 insertions, 1 deletions
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;