From 40272e58e4b8c8141aca00ef35f7eaf20244af1b Mon Sep 17 00:00:00 2001 From: Tichau Date: Fri, 4 Dec 2015 08:40:25 +0100 Subject: [PATCH] Fixed: Diagnostics problems (displaying logs) --- Application/FileConverter/Diagnostics/DiagnosticsData.cs | 4 ++-- Application/FileConverter/Windows/DiagnosticsWindow.xaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/FileConverter/Diagnostics/DiagnosticsData.cs b/Application/FileConverter/Diagnostics/DiagnosticsData.cs index 2c8b2d1..ce6fa59 100644 --- a/Application/FileConverter/Diagnostics/DiagnosticsData.cs +++ b/Application/FileConverter/Diagnostics/DiagnosticsData.cs @@ -46,9 +46,9 @@ namespace FileConverter.Diagnostics get { this.stringBuilder.Clear(); - foreach (string logMessage in this.LogMessages) + for (int index = 0; index < this.LogMessages.Count; index++) { - this.stringBuilder.AppendLine(logMessage); + this.stringBuilder.AppendLine(this.LogMessages[index]); } return this.stringBuilder.ToString(); diff --git a/Application/FileConverter/Windows/DiagnosticsWindow.xaml b/Application/FileConverter/Windows/DiagnosticsWindow.xaml index b4891e9..1779f31 100644 --- a/Application/FileConverter/Windows/DiagnosticsWindow.xaml +++ b/Application/FileConverter/Windows/DiagnosticsWindow.xaml @@ -24,7 +24,7 @@ - +