aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index a1afb2c3be..4eac94ed41 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1361,6 +1361,8 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
gint ctrled = e->button.state & GDK_CONTROL_MASK;
gint cursor_row, cursor_col;
+ e_canvas_item_grab_focus(GNOME_CANVAS_ITEM(eti));
+
switch (e->button.button) {
case 1: /* Fall through. */
case 2: