diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 9c46008f8..88aa0c9e9 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -605,7 +605,7 @@ namespace HandBrakeWPF.ViewModels set
{
this.isEncoding = value;
- this.CanPause = value && this.encodeService.CanPause;
+ this.CanPause = value;
this.NotifyOfPropertyChange(() => this.IsEncoding);
}
}
@@ -1435,12 +1435,8 @@ namespace HandBrakeWPF.ViewModels public void PauseEncode()
{
this.queueProcessor.Pause();
-
- if (this.encodeService.CanPause)
- {
- this.encodeService.Pause();
- this.IsEncoding = false;
- }
+ this.encodeService.Pause();
+ this.IsEncoding = false;
}
/// <summary>
|