Skip to content

Commit

Permalink
Fix: A small fix to Improve Column View (#11351)
Browse files Browse the repository at this point in the history
A small fix
  • Loading branch information
hishitetsu authored Feb 19, 2023
1 parent d13fd5a commit 80643d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Files.App/Views/LayoutModes/ColumnViewBrowser.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ protected override void OnNavigatedTo(NavigationEventArgs eventArgs)
}
}

OwnerPath = navigationArguments.NavPathParam;
FocusIndex = pathStack.Count;

MainPageFrame.Navigated += Frame_Navigated;
MainPageFrame.Navigate(typeof(ColumnShellPage), new ColumnParam
{
Expand All @@ -109,8 +112,6 @@ protected override void OnNavigatedTo(NavigationEventArgs eventArgs)
SearchPathParam = navigationArguments.SearchPathParam,
NavPathParam = path
});
OwnerPath = navigationArguments.NavPathParam;
FocusIndex = pathStack.Count;
var index = 0;
while (pathStack.TryPop(out path))
{
Expand Down

0 comments on commit 80643d3

Please sign in to comment.