From e2b3a318fded62230f1054f9b76b5cf459644135 Mon Sep 17 00:00:00 2001 From: Dijji <27084934+Dijji@users.noreply.github.com> Date: Tue, 26 Nov 2019 12:39:39 +0000 Subject: [PATCH] Handle missingTo better --- MainWindow.xaml | 2 +- View.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MainWindow.xaml b/MainWindow.xaml index 4fde50a..ffb5335 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -126,7 +126,7 @@ + FontSize="12" Visibility="{Binding Path=HasToDisplayList, Converter={StaticResource VisibleIfTrue}}"/> 0) || (Html != null && Html.Length > 0))); } } public bool ShowRtf { get { return NativeBody == BodyType.RTF || (NativeBody == BodyType.Undefined && RtfCompressed != null && RtfCompressed.Length > 0); } } + public bool HasToDisplayList { get { return ToDisplayList.Length > 0; } } public string ToDisplayList { get