fix: System.NullReferenceException raised after popup stop (success or not) running

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-25 15:56:37 +08:00
parent 22d4f26bc3
commit 00e56ce9d1
No known key found for this signature in database
2 changed files with 5 additions and 12 deletions

View file

@ -15,8 +15,7 @@
<TextBlock Margin="6,0,0,0" FontSize="14" FontWeight="Bold" Text="{DynamicResource Text.Running}"/>
</StackPanel>
<TextBlock x:Name="TxtDesc"
HorizontalAlignment="Stretch"
<TextBlock HorizontalAlignment="Stretch"
TextWrapping="Wrap"
FontSize="{Binding Source={x:Static vm:Preferences.Instance}, Path=DefaultFontSize, Converter={x:Static c:DoubleConverters.Decrease}}"
FontStyle="Italic"