Skip to content

Commit

Permalink
Merge pull request #44 from marcelgoldstein/hotkeys-fix
Browse files Browse the repository at this point in the history
Command-Binding needed to change the Command-Parameter to new Type.
  • Loading branch information
marcelgoldstein authored Apr 4, 2022
2 parents ee62290 + 7411990 commit acfdba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ImageChecker/View/ResultView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
</UserControl.Resources>

<UserControl.InputBindings>
<KeyBinding Command="{Binding DeleteFileCommand}" CommandParameter="{Binding SelectedResult.FileA.File}" Key="Left" />
<KeyBinding Command="{Binding DeleteFileCommand}" CommandParameter="{Binding SelectedResult.FileB.File}" Key="Right" />
<KeyBinding Command="{Binding DeleteFileCommand}" CommandParameter="{Binding SelectedResult.FileA}" Key="Left" />
<KeyBinding Command="{Binding DeleteFileCommand}" CommandParameter="{Binding SelectedResult.FileB}" Key="Right" />
<KeyBinding Command="{Binding MoveSelectionUpCommand}" Key="Up" Modifiers="Ctrl"/>
<KeyBinding Command="{Binding MoveSelectionDownCommand}" Key="Down" Modifiers="Ctrl" />
</UserControl.InputBindings>
Expand Down

0 comments on commit acfdba4

Please sign in to comment.