|
16 | 16 | <local:EnumDisplayer Type="{x:Type Encoding:OutputFormat}" x:Key="OutputFormatChoices" /> |
17 | 17 | </Window.Resources> |
18 | 18 | <Window.InputBindings> |
19 | | - <KeyBinding Key="Q" Modifiers="Control" Command="{Binding MainViewModel.AddToQueueCommand}" /> |
20 | | - <KeyBinding Key="L" Modifiers="Control" Command="{Binding MainViewModel.OpenLogWindowCommand}" /> |
21 | | - <KeyBinding Key="P" Modifiers="Control" Command="{Binding MainViewModel.OpenPreviewWindowCommand}" /> |
22 | | - <KeyBinding Key="O" Modifiers="Control+Shift" Command="{Binding MainViewModel.QueueFilesCommand}" /> |
23 | | - <KeyBinding Key="T" Modifiers="Control" Command="{Binding MainViewModel.QueueTitlesCommand}" /> |
24 | | - <KeyBinding Key="D" Modifiers="Control" Command="{Binding MainViewModel.PickOutputPathCommand}" /> |
| 19 | + <KeyBinding Key="Q" Modifiers="Control" Command="{Binding ProcessingVM.AddToQueueCommand}" /> |
| 20 | + <KeyBinding Key="L" Modifiers="Control" Command="{Binding WindowManagerVM.OpenLogWindowCommand}" /> |
| 21 | + <KeyBinding Key="P" Modifiers="Control" Command="{Binding WindowManagerVM.OpenPreviewWindowCommand}" /> |
| 22 | + <KeyBinding Key="O" Modifiers="Control+Shift" Command="{Binding ProcessingVM.QueueFilesCommand}" /> |
| 23 | + <KeyBinding Key="T" Modifiers="Control" Command="{Binding ProcessingVM.QueueTitlesCommand}" /> |
| 24 | + <KeyBinding Key="D" Modifiers="Control" Command="{Binding OutputPathVM.PickOutputPathCommand}" /> |
25 | 25 |
|
26 | 26 | <KeyBinding Key="Esc" Command="{Binding CancelCommand}" /> |
27 | 27 | <KeyBinding Key="S" Modifiers="Control" Command="{Binding SaveCommand}" /> |
|
82 | 82 | </ToolBarPanel> |
83 | 83 | <Button |
84 | 84 | Height="26" Margin="0,4,12,0" VerticalAlignment="Top" IsEnabled="{Binding HasSourceData}" |
85 | | - Command="{Binding PreviewCommand}" HorizontalAlignment="Right" Width="77" |
86 | | - Visibility="{Binding MainViewModel.PreviewWindowOpen, Converter={StaticResource VisibilityConverter}, ConverterParameter=True}"> |
| 85 | + Command="{Binding WindowManagerVM.PreviewWindowOpen}" HorizontalAlignment="Right" Width="77" |
| 86 | + Visibility="{Binding WindowManagerVM.PreviewWindowOpen, Converter={StaticResource VisibilityConverter}, ConverterParameter=True}"> |
87 | 87 | <StackPanel Orientation="Horizontal"> |
88 | 88 | <Image Source="/Icons/preview.png" /> |
89 | 89 | <TextBlock Text="Preview" Margin="5,0,0,0" VerticalAlignment="Center" /> |
|
0 commit comments