summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
authorScott <[email protected]>2015-11-08 17:41:49 +0000
committerScott <[email protected]>2015-11-08 17:42:17 +0000
commitca28edf93c380f3133444d5861a771206007fbd5 (patch)
treea05198b32b4772fc437f853079da216fbdfa3f0b /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
parent96b99eae832a268f8445d438aec3e7bd2dabc88b (diff)
Add Error count to the Status bar when queue completes.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs8
1 files changed, 7 insertions, 1 deletions
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)