diff options
author | sr55 <[email protected]> | 2017-01-23 21:00:15 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-01-23 21:00:15 +0000 |
commit | c4a14d3465d4bc663bdb0ad061cba21eeef44afd (patch) | |
tree | 2d72ac0b78d5819d4d3634ff0c7543761f8c5b64 /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | |
parent | d6519f23ced6869b06689416648c1e45526b6517 (diff) |
WinGui: Another fix to WhenDone. Should reset when the main window opens, not when preferences opens.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 9405c3a2b..08e54214a 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1266,6 +1266,12 @@ namespace HandBrakeWPF.ViewModels this.SelectedPreset = this.presetService.DefaultPreset;
+ // Reset WhenDone if necessary.
+ if (this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ResetWhenDoneAction))
+ {
+ this.WhenDone("Do nothing");
+ }
+
// Log Cleaning
if (userSettingService.GetUserSetting<bool>(UserSettingConstants.ClearOldLogs))
{
|