summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs11
1 files changed, 4 insertions, 7 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 2293df64a..327468411 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1194,12 +1194,8 @@ namespace HandBrakeWPF.ViewModels
this.presetService.Load();
// Queue Recovery
- bool isRecovered = QueueRecoveryHelper.RecoverQueue(this.queueProcessor, this.errorService);
- if (isRecovered)
- {
- this.HasSource = true;
- }
-
+ QueueRecoveryHelper.RecoverQueue(this.queueProcessor, this.errorService);
+
this.SelectedPreset = this.presetService.DefaultPreset;
// Log Cleaning
@@ -1988,9 +1984,10 @@ namespace HandBrakeWPF.ViewModels
this.NotifyOfPropertyChange(() => this.ScannedSource.Titles);
// Select the Users Title
- this.SelectedTitle = this.ScannedSource.Titles.FirstOrDefault(t => t.TitleNumber == this.CurrentTask.Title);
+ this.SelectedTitle = this.ScannedSource.Titles.FirstOrDefault();
this.CurrentTask = new EncodeTask(queueEditTask);
this.NotifyOfPropertyChange(() => this.CurrentTask);
+ this.HasSource = true;
// Update the Main Window
this.NotifyOfPropertyChange(() => this.Destination);