aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;