From dad38cb591e64d178635b3bbd2d2b8b979d12294 Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Tue, 10 Dec 2024 08:12:20 -0800 Subject: [PATCH] Fix LT-21999: Disable Save Report on comparison reports --- Src/LexText/ParserCore/ParserReport.cs | 1 + Src/LexText/ParserUI/ParserReportDialog.xaml | 1 + Src/LexText/ParserUI/ParserReportViewModel.cs | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Src/LexText/ParserCore/ParserReport.cs b/Src/LexText/ParserCore/ParserReport.cs index ea04de3231..a933a39e97 100644 --- a/Src/LexText/ParserCore/ParserReport.cs +++ b/Src/LexText/ParserCore/ParserReport.cs @@ -237,6 +237,7 @@ public ParserReport DiffParserReports(ParserReport other) diff.ProjectName = DiffNames(ProjectName, other.ProjectName); diff.SourceText = DiffNames(SourceText, other.SourceText); diff.MachineName = DiffNames(MachineName, other.MachineName); + diff.Comment = DiffNames(Comment, other.Comment); diff.Timestamp = Timestamp; diff.DiffTimestamp = other.Timestamp; diff.NumWords = NumWords - other.NumWords; diff --git a/Src/LexText/ParserUI/ParserReportDialog.xaml b/Src/LexText/ParserUI/ParserReportDialog.xaml index 23fa40cb3f..793ccd6450 100644 --- a/Src/LexText/ParserUI/ParserReportDialog.xaml +++ b/Src/LexText/ParserUI/ParserReportDialog.xaml @@ -188,6 +188,7 @@