Skip to content

Commit bf3ecec

Browse files
committed
Fix
1 parent 119f191 commit bf3ecec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Files.App/Actions/Navigation/CloseActivePaneAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public string Description
1414
=> "CloseActivePaneDescription".GetLocalizedResource();
1515

1616
public HotKey HotKey
17-
=> new(Keys.W, KeyModifiers.CtrlShift);
17+
=> new(Keys.W, KeyModifiers.CtrlAlt);
1818

1919
public RichGlyph Glyph
2020
=> new(themedIconStyle: "App.ThemedIcons.PanelLeftClose");

src/Files.App/Helpers/Navigation/MultitaskingTabsHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static void CloseAllTabs(ITabBar multitaskingControl)
4646
if (multitaskingControl is not null)
4747
{
4848
var tabs = MainPageViewModel.AppInstances;
49-
tabs.ForEach(tab => multitaskingControl.CloseTab(tab));
49+
tabs.ToList().ForEach(tab => multitaskingControl.CloseTab(tab));
5050
}
5151
}
5252

0 commit comments

Comments
 (0)