Skip to content

Commit d764035

Browse files
committed
Fix: Fixed an issue where context menu shows incorrect items when right-clicking search results performed from Columns layout view. The menu was missing essential items like Open, Cut, Copy, and Share.
1 parent 9ec5a71 commit d764035

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Files.App/Views/Layouts/ColumnsLayoutPage.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ public void SetSelectedPathOrNavigate(string navigationPath, Type sourcePageType
365365
{
366366
if (navArgs is not null && navArgs.IsSearchResultPage)
367367
{
368+
navArgs.AssociatedTabInstance = ParentShellPageInstance;
368369
ParentShellPageInstance?.NavigateToPath(navArgs.SearchPathParam, typeof(DetailsLayoutPage), navArgs);
369370
return;
370371
}

0 commit comments

Comments
 (0)