Use IsDefault and IsCancel instead of Hotkeys
This commit is contained in:
parent
ea80d922a6
commit
fd33ebb42d
1 changed files with 2 additions and 2 deletions
|
@ -114,12 +114,12 @@
|
||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
ReverseOrder="{Binding IsMacOS}">
|
ReverseOrder="{Binding IsMacOS}">
|
||||||
<Button
|
<Button
|
||||||
HotKey="Enter"
|
IsDefault="True"
|
||||||
Classes="accent"
|
Classes="accent"
|
||||||
Content="{locale:Locale SettingsButtonOk}"
|
Content="{locale:Locale SettingsButtonOk}"
|
||||||
Command="{Binding OkButton}" />
|
Command="{Binding OkButton}" />
|
||||||
<Button
|
<Button
|
||||||
HotKey="Escape"
|
IsCancel="True"
|
||||||
Content="{locale:Locale SettingsButtonCancel}"
|
Content="{locale:Locale SettingsButtonCancel}"
|
||||||
Command="{Binding CancelButton}" />
|
Command="{Binding CancelButton}" />
|
||||||
<Button
|
<Button
|
||||||
|
|
Loading…
Reference in a new issue