diff options
-rw-r--r-- | widgets/table/e-tree-selection-model.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c index 1854010fd7..30cbc5aa90 100644 --- a/widgets/table/e-tree-selection-model.c +++ b/widgets/table/e-tree-selection-model.c @@ -1091,9 +1091,14 @@ e_tree_selection_model_select_single_path (ETreeSelectionModel *etsm, ETreePath void e_tree_selection_model_change_cursor (ETreeSelectionModel *etsm, ETreePath path) { + int row; + etsm->priv->cursor_path = path; - e_selection_model_cursor_changed(E_SELECTION_MODEL(etsm), etsm_cursor_row_real(etsm), etsm->priv->cursor_col); + row = etsm_cursor_row_real(etsm); + + e_selection_model_cursor_changed(E_SELECTION_MODEL(etsm), row, etsm->priv->cursor_col); + e_selection_model_cursor_activated(E_SELECTION_MODEL(etsm), row, etsm->priv->cursor_col); } |