diff options
Diffstat (limited to 'widgets/table/e-table-click-to-add.c')
-rw-r--r-- | widgets/table/e-table-click-to-add.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c index df395ebaf7..8fb151bc24 100644 --- a/widgets/table/e-table-click-to-add.c +++ b/widgets/table/e-table-click-to-add.c @@ -348,6 +348,10 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e) ETableClickToAdd *etcta = E_TABLE_CLICK_TO_ADD (item); switch (e->type){ + case GDK_FOCUS_CHANGE: + if (!e->focus_change.in) + return TRUE; + case GDK_BUTTON_PRESS: if (etcta->text) { gtk_object_destroy(etcta->text); |