diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-tree-table-adapter.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c index 65bdb3cccb..e167a1476f 100644 --- a/widgets/table/e-tree-table-adapter.c +++ b/widgets/table/e-tree-table-adapter.c @@ -799,6 +799,9 @@ etta_proxy_node_request_collapse (ETreeModel *etm, ETreePath node, ETreeTableAda static void etta_sort_info_changed (ETableSortInfo *sort_info, ETreeTableAdapter *etta) { + if (!etta->priv->root) + return; + e_table_model_pre_change(E_TABLE_MODEL(etta)); resort_node(etta, etta->priv->root, TRUE); fill_map(etta, 0, etta->priv->root); |