diff options
-rw-r--r-- | widgets/table/e-table-item.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index b0ac255376..869254b703 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1263,6 +1263,11 @@ eti_unrealize (GnomeCanvasItem *item) { ETableItem *eti = E_TABLE_ITEM (item); + if (eti->grabbed) { + gtk_grab_remove (GTK_WIDGET (GNOME_CANVAS_ITEM (eti)->canvas)); + eti->grabbed = FALSE; + } + if (eti_editing (eti)) e_table_item_leave_edit (eti); |