diff options
Diffstat (limited to 'Juick')
-rw-r--r-- | Juick/Controls/HyperLinkRichTextBox.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Juick/Controls/HyperLinkRichTextBox.cs b/Juick/Controls/HyperLinkRichTextBox.cs index 6ec6883..29b44c9 100644 --- a/Juick/Controls/HyperLinkRichTextBox.cs +++ b/Juick/Controls/HyperLinkRichTextBox.cs @@ -27,6 +27,7 @@ namespace Juick.Controls { var richTextBox = (HyperLinkRichTextBox)dependencyObject; var stringValue = (string)dependencyPropertyChangedEventArgs.NewValue; + if (string.IsNullOrEmpty(stringValue)) return; var paragraph = new Paragraph(); var index = 0; |