diff options
author | sr55 <[email protected]> | 2017-08-30 20:26:45 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-08-30 20:26:45 +0100 |
commit | 6336b87579ad3cb913488a2dd1cbacb0af862966 (patch) | |
tree | fbe930e8816bd5d3fe3b11dcdc71df0f9861d3a2 /win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs | |
parent | ec19d8520ea39761053cccb2744931f0195b7bba (diff) |
WinGui: Some consistency fixes and UI tweaks around queue start/pause/stop.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs index 35c8d6a86..b646bf552 100644 --- a/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs @@ -193,7 +193,7 @@ namespace HandBrakeWPF.ViewModels if (processor != null && processor.EncodeService.IsEncoding)
{
MessageBoxResult result =
- errorService.ShowMessageBox(
+ this.errorService.ShowMessageBox(
Resources.ShellViewModel_CanClose,
Resources.Warning,
MessageBoxButton.YesNo,
@@ -201,8 +201,7 @@ namespace HandBrakeWPF.ViewModels if (result == MessageBoxResult.Yes)
{
- processor.Pause();
- processor.EncodeService.Stop();
+ processor.Stop();
if (this.MainViewModel != null)
{
this.MainViewModel.Shutdown();
|