summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nautilus-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 15ece016d..7cb56b75b 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -603,7 +603,7 @@ nautilus_window_initialize_slot (NautilusWindow *window,
connect_slot (window, slot);
- current = adw_tab_view_get_selected_page (window->tab_view);
+ current = get_current_page (window);
page = adw_tab_view_add_page (window->tab_view, GTK_WIDGET (slot), current);
g_object_bind_property (slot, "allow-stop",