Skip to content

Commit 83dd189

Browse files
authored
Fix: Fixed issue where column layout items remained selected on certain startup settings (#12629)
1 parent 19dc9ad commit 83dd189

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ private void HighlightPathDirectory(ListViewBase sender, ContainerContentChangin
137137
{
138138
var presenter = args.ItemContainer.FindDescendant<Grid>()!;
139139
presenter!.Background = this.Resources["ListViewItemBackgroundSelected"] as SolidColorBrush;
140+
openedFolderPresenter = FileList.ContainerFromItem(item) as ListViewItem;
140141
FileList.ContainerContentChanging -= HighlightPathDirectory;
141142
}
142143
}

0 commit comments

Comments
 (0)