~jeremywootten/pantheon-files/fix-1178869

« back to all changes in this revision

Viewing changes to src/fm-directory-view.c

Ensure path is selected in restore_selection after deleting files to fix bug #1088076.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2248
2248
        //(*FM_DIRECTORY_VIEW_GET_CLASS (view)->select_path) (view, view->details->selection_before_delete);
2249
2249
 
2250
2250
        /* place the cursor on the selected path */
2251
 
        (*FM_DIRECTORY_VIEW_GET_CLASS (view)->set_cursor) (view, view->details->selection_before_delete, FALSE, FALSE);
 
2251
        (*FM_DIRECTORY_VIEW_GET_CLASS (view)->set_cursor) (view, view->details->selection_before_delete, FALSE, TRUE);
2252
2252
 
2253
2253
        /* Free the tree path */
2254
2254
        gtk_tree_path_free (view->details->selection_before_delete);