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"
ReverseOrder="{Binding IsMacOS}">
<Button
HotKey="Enter"
IsDefault="True"
Classes="accent"
Content="{locale:Locale SettingsButtonOk}"
Command="{Binding OkButton}" />
<Button
HotKey="Escape"
IsCancel="True"
Content="{locale:Locale SettingsButtonCancel}"
Command="{Binding CancelButton}" />
<Button