ConfirmEmptyCommit dialog closes on Escape

This commit is contained in:
Martin Smith 2025-05-14 12:57:24 +01:00
parent 23f79fd084
commit a951fd2768

View file

@ -12,6 +12,7 @@
Title="{DynamicResource Text.Warn}" Title="{DynamicResource Text.Warn}"
SizeToContent="WidthAndHeight" SizeToContent="WidthAndHeight"
CanResize="False" CanResize="False"
ShowInTaskbar="False"
WindowStartupLocation="CenterOwner"> WindowStartupLocation="CenterOwner">
<Grid RowDefinitions="Auto,Auto,Auto"> <Grid RowDefinitions="Auto,Auto,Auto">
<!-- TitleBar --> <!-- TitleBar -->
@ -64,6 +65,7 @@
Height="30" Height="30"
Margin="4,0" Margin="4,0"
Click="CloseWindow" Click="CloseWindow"
IsCancel="True"
Content="{DynamicResource Text.Cancel}" Content="{DynamicResource Text.Cancel}"
HorizontalContentAlignment="Center" HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"/> VerticalContentAlignment="Center"/>