Fix accelerator key in PreferencesView.

This commit is contained in:
Daniel Kraus 2015-09-01 06:03:35 +02:00
parent 75a350764e
commit adaf75c5fc

View File

@ -31,18 +31,13 @@
<ResourceDictionary Source="/zaaReloaded2;component/Style.xaml" /> <ResourceDictionary Source="/zaaReloaded2;component/Style.xaml" />
</Window.Resources> </Window.Resources>
<DockPanel Margin="10"> <DockPanel Margin="10">
<UniformGrid DockPanel.Dock="Bottom" Columns="2" Rows="1" Margin="0 10 0 0"> <UniformGrid DockPanel.Dock="Bottom" Columns="2" Rows="1"
HorizontalAlignment="Right" Margin="0 10 0 0">
<Button Command="{Binding SaveCommand}" Content="OK" IsDefault="True" Margin="0 0 5 0" /> <Button Command="{Binding SaveCommand}" Content="OK" IsDefault="True" Margin="0 0 5 0" />
<Button Command="{Binding CloseViewCommand}" Content="Abbrechen" IsCancel="True" Margin="5 0 0 0" /> <Button Command="{Binding CloseViewCommand}" Content="Abbrechen" IsCancel="True" Margin="5 0 0 0" />
</UniformGrid> </UniformGrid>
<GroupBox Header="Sekretariatsmodus" Padding="10"> <GroupBox Header="Sekretariatsmodus" Padding="10">
<GroupBox.InputBindings> <CheckBox IsChecked="{Binding SuppressItemCommentInteraction}" Content="Keine Interaktion für _Kommentare">
<KeyBinding Key="S" Modifiers="Alt" />
</GroupBox.InputBindings>
<CheckBox IsChecked="{Binding SuppressItemCommentInteraction}" Content="Keine Interaktion für Kommentare">
<CheckBox.InputBindings>
<KeyBinding Key="k" Modifiers="Alt" />
</CheckBox.InputBindings>
</CheckBox> </CheckBox>
</GroupBox> </GroupBox>
</DockPanel> </DockPanel>