diff options
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 3f60485cbe..3632e9fe68 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -696,6 +696,8 @@ eti_add_table_model (ETableItem *eti, ETableModel *table_model) if (E_IS_TABLE_SUBSET(table_model)) { eti->uses_source_model = 1; eti->source_model = E_TABLE_SUBSET(table_model)->source; + if (eti->source_model) + gtk_object_ref(eti->source_model); } eti_table_model_changed (table_model, eti); |