diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-tree-table-adapter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c index 3fae35737d..e3e8bba9ac 100644 --- a/widgets/table/e-tree-table-adapter.c +++ b/widgets/table/e-tree-table-adapter.c @@ -932,7 +932,8 @@ e_tree_table_adapter_load_expanded_state (ETreeTableAdapter *etta, const char *f } path = e_tree_model_get_node_by_id(etta->priv->source, id); - e_tree_table_adapter_node_set_expanded(etta, path, !model_default); + if (path) + e_tree_table_adapter_node_set_expanded(etta, path, !model_default); } xmlFreeDoc (doc); |