Use IsDefault and IsCancel instead of Hotkeys

This commit is contained in:
Isaac Marovitz 2024-04-18 17:54:07 -04:00
parent ea80d922a6
commit fd33ebb42d
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1

View file

@ -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