diff options
author | sr55 <[email protected]> | 2018-11-04 20:59:02 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2018-11-04 20:59:02 +0000 |
commit | 46598fde8cec433cd93798f46045a628734eca13 (patch) | |
tree | d9d92939df10b0c679d580896fadfc570a73ec89 /win/CS/HandBrakeWPF/Commands | |
parent | 0971a9aaca0b2ff8fa64f64a1f60830b2f47940a (diff) |
WinGui: Add shortcuts for All All to Queue and Add Selection. Display shortcuts on the Context Menu on the Add to Queue button.
Diffstat (limited to 'win/CS/HandBrakeWPF/Commands')
-rw-r--r-- | win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs b/win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs index 064b6fe51..dfa0830a4 100644 --- a/win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs +++ b/win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs @@ -78,6 +78,18 @@ namespace HandBrakeWPF.Commands mainViewModel.AddToQueue();
}
+ // Add all to Queue (Alt+A)
+ if (gesture.Modifiers == ModifierKeys.Alt && gesture.Key == Key.A)
+ {
+ mainViewModel.AddAllToQueue();
+ }
+
+ // Add selection to Queue (Control+Shift+A)
+ if (gesture.Modifiers == (ModifierKeys.Control | ModifierKeys.Shift) && gesture.Key == Key.A)
+ {
+ mainViewModel.AddSelectionToQueue();
+ }
+
// Scan a File (Alt+O)
if (gesture.Modifiers == ModifierKeys.Alt && gesture.Key == Key.O)
{
|