aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-tree-memory.c3
-rw-r--r--widgets/table/e-tree-sorted.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/widgets/table/e-tree-memory.c b/widgets/table/e-tree-memory.c
index 9f6af6535c..330dac93fb 100644
--- a/widgets/table/e-tree-memory.c
+++ b/widgets/table/e-tree-memory.c
@@ -163,7 +163,8 @@ e_tree_memory_freeze(ETreeMemory *etmm)
{
ETreeMemoryPriv *priv = etmm->priv;
- e_tree_model_pre_change(E_TREE_MODEL(etmm));
+ if (priv->frozen == 0)
+ e_tree_model_pre_change(E_TREE_MODEL(etmm));
priv->frozen ++;
}
diff --git a/widgets/table/e-tree-sorted.c b/widgets/table/e-tree-sorted.c
index 56bd3d3db6..b51b1e6398 100644
--- a/widgets/table/e-tree-sorted.c
+++ b/widgets/table/e-tree-sorted.c
@@ -1039,7 +1039,8 @@ ets_proxy_node_data_changed (ETreeModel *etm, ETreePath node, ETreeSorted *ets)
if (path) {
if (!reposition_path(ets, path))
e_tree_model_node_data_changed(E_TREE_MODEL(ets), path);
- }
+ } else
+ e_tree_model_no_change(E_TREE_MODEL(ets));
}
static void
@@ -1053,7 +1054,8 @@ ets_proxy_node_col_changed (ETreeModel *etm, ETreePath node, int col, ETreeSorte
changed = reposition_path(ets, path);
if (!changed)
e_tree_model_node_col_changed(E_TREE_MODEL(ets), path, col);
- }
+ } else
+ e_tree_model_no_change(E_TREE_MODEL(ets));
}
static void