From ca28edf93c380f3133444d5861a771206007fbd5 Mon Sep 17 00:00:00 2001 From: Scott Date: Sun, 8 Nov 2015 17:41:49 +0000 Subject: Add Error count to the Status bar when queue completes. --- win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs') diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 69d38f159..bc6caa38a 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -2247,7 +2247,13 @@ namespace HandBrakeWPF.ViewModels Execute.OnUIThread( () => { - this.ProgramStatusLabel = Resources.Main_QueueFinished; + string errorDesc = string.Empty; + if (this.queueProcessor.ErrorCount > 0) + { + errorDesc += string.Format(Resources.Main_QueueFinishedErrors, this.queueProcessor.ErrorCount); + } + + this.ProgramStatusLabel = Resources.Main_QueueFinished + errorDesc; this.IsEncoding = false; if (this.windowsSeven.IsWindowsSeven) -- cgit v1.2.3