diff options
-rw-r--r-- | widgets/table/e-table-sorted-variable.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-sorted-variable.c b/widgets/table/e-table-sorted-variable.c index 1e271f997f..ac3a7d5067 100644 --- a/widgets/table/e-table-sorted-variable.c +++ b/widgets/table/e-table-sorted-variable.c @@ -128,6 +128,8 @@ etsv_add (ETableSubsetVariable *etssv, ETableSortedVariable *etsv = E_TABLE_SORTED_VARIABLE (etssv); int i; + e_table_model_pre_change (etm); + if (etss->n_map + 1 > etssv->n_vals_allocated) { etssv->n_vals_allocated += INCREMENT_AMOUNT; etss->map_table = g_realloc (etss->map_table, (etssv->n_vals_allocated) * sizeof(int)); |