Skip to content

Commit e56aa4e

Browse files
authored
Refactor
1 parent 3005992 commit e56aa4e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Files.App/Views/LayoutModes/ColumnViewBase.xaml.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,9 @@ protected override void OnNavigatedTo(NavigationEventArgs eventArgs)
110110
columnsOwner = (navArgs.AssociatedTabInstance as FrameworkElement)?.FindAscendant<ColumnViewBrowser>();
111111
var index = (navArgs.AssociatedTabInstance as ColumnShellPage)?.ColumnParams?.Column;
112112
navArgs.FocusOnNavigation = index == columnsOwner?.FocusIndex;
113+
113114
if (index < columnsOwner?.FocusIndex)
114-
{
115115
FileList.ContainerContentChanging += HighlightPathDirectory;
116-
}
117116
}
118117

119118
base.OnNavigatedTo(eventArgs);
@@ -470,4 +469,4 @@ internal void ClearSelectionIndicator()
470469
FileList.SelectedItem = null;
471470
}
472471
}
473-
}
472+
}

0 commit comments

Comments
 (0)