diff --git a/src/Files.App/Views/Layouts/ColumnsLayoutPage.xaml.cs b/src/Files.App/Views/Layouts/ColumnsLayoutPage.xaml.cs index a90df6a8281f..aca77854ee60 100644 --- a/src/Files.App/Views/Layouts/ColumnsLayoutPage.xaml.cs +++ b/src/Files.App/Views/Layouts/ColumnsLayoutPage.xaml.cs @@ -365,6 +365,7 @@ public void SetSelectedPathOrNavigate(string navigationPath, Type sourcePageType { if (navArgs is not null && navArgs.IsSearchResultPage) { + navArgs.AssociatedTabInstance = ParentShellPageInstance; ParentShellPageInstance?.NavigateToPath(navArgs.SearchPathParam, typeof(DetailsLayoutPage), navArgs); return; }