ConfirmEmptyCommit responds to Cancel button

This commit is contained in:
Martin Smith 2025-05-14 10:37:53 +01:00
parent 01625ada1a
commit e62a8338a0

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 -->
@ -66,6 +67,7 @@
Click="CloseWindow" Click="CloseWindow"
Content="{DynamicResource Text.Cancel}" Content="{DynamicResource Text.Cancel}"
HorizontalContentAlignment="Center" HorizontalContentAlignment="Center"
IsCancel="True"
VerticalContentAlignment="Center"/> VerticalContentAlignment="Center"/>
</StackPanel> </StackPanel>
</Grid> </Grid>