diff --git a/src/Views/CommitMessagePresenter.cs b/src/Views/CommitMessagePresenter.cs index 031d6e77..a24289a5 100644 --- a/src/Views/CommitMessagePresenter.cs +++ b/src/Views/CommitMessagePresenter.cs @@ -83,6 +83,7 @@ namespace SourceGit.Views if (matches.Count == 0) { Inlines.Add(new Run(message)); + InvalidateTextLayout(); return; } diff --git a/src/Views/Histories.axaml.cs b/src/Views/Histories.axaml.cs index c2507721..f3431a61 100644 --- a/src/Views/Histories.axaml.cs +++ b/src/Views/Histories.axaml.cs @@ -196,6 +196,7 @@ namespace SourceGit.Views if (rules == null || rules.Count == 0) { Inlines.Add(new Run(subject)); + InvalidateTextLayout(); return; } @@ -206,6 +207,7 @@ namespace SourceGit.Views if (matches.Count == 0) { Inlines.Add(new Run(subject)); + InvalidateTextLayout(); return; }