Skip to content

Commit d5f9b6b

Browse files
authored
Code Quality: Fixed columns view navigation (#17504)
1 parent 0a560b7 commit d5f9b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Views/Layouts/BaseLayoutPage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ private void RefreshItem(SelectorItem container, object item, bool inRecycleQueu
12461246
// See https://github.com/files-community/Files/issues/15397
12471247
// See https://github.com/files-community/Files/issues/16530
12481248

1249-
if (ParentShellPageInstance.IsCurrentPane && !ParentShellPageInstance.IsColumnView)
1249+
if (ParentShellPageInstance.InstanceViewModel.FolderSettings.LayoutMode is not FolderLayoutModes.ColumnView)
12501250
ItemManipulationModel.FocusFileList();
12511251
});
12521252
}

0 commit comments

Comments
 (0)