Skip to content

Commit b13d200

Browse files
author
Yair Aichenbaum
committed
Disabled stale shortcuts
1 parent df18bc1 commit b13d200

File tree

1 file changed

+16
-25
lines changed

1 file changed

+16
-25
lines changed

Files/Views/Pages/ModernShellPage.xaml.cs

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
1-
using Files.Controls;
2-
using Files.Filesystem;
1+
using Files.Filesystem;
32
using Files.Interacts;
43
using Files.UserControls;
54
using Files.View_Models;
65
using Microsoft.Toolkit.Uwp.UI.Controls;
76
using System;
8-
using System.Collections.Generic;
9-
using System.IO;
107
using System.Linq;
11-
using System.Runtime.InteropServices.WindowsRuntime;
12-
using Windows.Foundation;
13-
using Windows.Foundation.Collections;
148
using Windows.System;
159
using Windows.UI.Core;
1610
using Windows.UI.Xaml;
1711
using Windows.UI.Xaml.Controls;
18-
using Windows.UI.Xaml.Controls.Primitives;
19-
using Windows.UI.Xaml.Data;
2012
using Windows.UI.Xaml.Input;
21-
using Windows.UI.Xaml.Media;
2213
using Windows.UI.Xaml.Media.Animation;
2314
using Windows.UI.Xaml.Navigation;
2415

@@ -253,21 +244,21 @@ private async void ModernShellPage_KeyUp(object sender, KeyRoutedEventArgs e)
253244
case (true, false, false, true, VirtualKey.R): //ctrl + r, refresh
254245
NavigationActions.Refresh_Click(null, null);
255246
break;
256-
case (true, false, false, true, VirtualKey.F): //ctrl + f, search box
257-
(App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 0;
258-
break;
259-
case (true, false, false, true, VirtualKey.E): //ctrl + e, search box
260-
(App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 0;
261-
break;
262-
case (false, false, true, true, VirtualKey.H):
263-
(App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 1;
264-
break;
265-
case (false, false, true, true, VirtualKey.S):
266-
(App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 2;
267-
break;
268-
case (false, false, true, true, VirtualKey.V):
269-
(App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 3;
270-
break;
247+
//case (true, false, false, true, VirtualKey.F): //ctrl + f, search box
248+
// (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 0;
249+
// break;
250+
//case (true, false, false, true, VirtualKey.E): //ctrl + e, search box
251+
// (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 0;
252+
// break;
253+
//case (false, false, true, true, VirtualKey.H):
254+
// (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 1;
255+
// break;
256+
//case (false, false, true, true, VirtualKey.S):
257+
// (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 2;
258+
// break;
259+
//case (false, false, true, true, VirtualKey.V):
260+
// (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 3;
261+
// break;
271262
};
272263

273264

0 commit comments

Comments
 (0)