summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-06-03 17:21:56 +0000
committersr55 <[email protected]>2015-06-03 17:21:56 +0000
commitdcdbfd6a12b7ad09ffd869d81a2ca181c0d48eda (patch)
tree3913a561cd3f2ae615fc8249a244e7098abccd03 /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
parentb9533021140307974a5bd07d89aefa202ea47ad8 (diff)
WinGui: Queue Recovery now sets the GUI to enabled if it recovers a job.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7270 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 854bf48d9..2293df64a 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1194,7 +1194,11 @@ namespace HandBrakeWPF.ViewModels
this.presetService.Load();
// Queue Recovery
- QueueRecoveryHelper.RecoverQueue(this.queueProcessor, this.errorService);
+ bool isRecovered = QueueRecoveryHelper.RecoverQueue(this.queueProcessor, this.errorService);
+ if (isRecovered)
+ {
+ this.HasSource = true;
+ }
this.SelectedPreset = this.presetService.DefaultPreset;