aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-tree-selection-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-tree-selection-model.c')
-rw-r--r--e-util/e-tree-selection-model.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/e-util/e-tree-selection-model.c b/e-util/e-tree-selection-model.c
index 208d6aefb5..c58bfd5903 100644
--- a/e-util/e-tree-selection-model.c
+++ b/e-util/e-tree-selection-model.c
@@ -173,11 +173,9 @@ etsm_pre_change (ETreeModel *etm,
g_free (etsm->priv->cursor_save_id);
etsm->priv->cursor_save_id = NULL;
- if (e_tree_model_has_get_node_by_id (etm) &&
- etsm->priv->cursor_path) {
+ if (etsm->priv->cursor_path != NULL)
etsm->priv->cursor_save_id = e_tree_model_get_save_id (
etm, etsm->priv->cursor_path);
- }
}
static void