We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6af697b commit ee2fb9eCopy full SHA for ee2fb9e
src/Files.App/Views/LayoutModes/BaseLayout.cs
@@ -1448,7 +1448,7 @@ protected void UpdatePreviewPaneSelection(List<ListedItem>? value)
1448
InfoPaneViewModel.SelectedItem = value?.Count == 1 ? value.First() : null;
1449
1450
// Check if the preview pane is open before updating the model
1451
- if (InfoPaneViewModel.IsEnabled)
+ if (InfoPaneViewModel.IsEnabled && !App.AppModel.IsMainWindowClosed)
1452
{
1453
var isPaneEnabled = ((MainWindow.Instance.Content as Frame)?.Content as MainPage)?.ShouldPreviewPaneBeActive ?? false;
1454
if (isPaneEnabled)
0 commit comments