summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-03-16 14:05:07 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-03-17 14:13:25 +0100
commitb0a3949d89ccb60c110cf9742a17e0333d55abae (patch)
tree21a481f839f9fccb555ccd2f252c8a2808c7c3f8
parent3836ba11d766f0a301b100645d53e6990befbbb5 (diff)
downloadnautilus-b0a3949d89ccb60c110cf9742a17e0333d55abae.tar.gz
files-view: select the pending selection
Not the selection itself, when we have a pending selection. This fixes the view not selecting the folder we just entered when returning back. https://bugzilla.gnome.org/show_bug.cgi?id=763746
-rw-r--r--src/nautilus-files-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index c2c5bb8fe..fef1ce6fb 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -3186,7 +3186,7 @@ done_loading (NautilusFilesView *view,
} else if (pending_selection != NULL && all_files_seen) {
view->details->pending_selection = NULL;
- nautilus_files_view_call_set_selection (view, selection);
+ nautilus_files_view_call_set_selection (view, pending_selection);
do_reveal = TRUE;
}