diff options
author | sr55 <[email protected]> | 2015-04-10 21:03:46 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-04-10 21:03:46 +0000 |
commit | d653dcdc2bcf03dccf0115e348e21e8074c9284d (patch) | |
tree | 5d7567fc008ed956762bc07082ef65c25fede987 | |
parent | f25cbb75de1978706ac48a2eaf51c3e4f54cf451 (diff) |
WinGui: For default user presets, make sure the advanced tab shows correctly on load when enabled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7081 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs index 474e43d7e..b82e64c4e 100644 --- a/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs @@ -944,6 +944,12 @@ namespace HandBrakeWPF.ViewModels this.Task = task;
this.Task.PropertyChanged += this.Task_PropertyChanged;
this.AdvancedOptionsString = preset.Task.AdvancedEncoderOptions;
+
+ if (task.ShowAdvancedTab && task.VideoEncoder == VideoEncoder.X264)
+ {
+ this.ShowX264AdvancedOptions = true;
+ this.NotifyOfPropertyChange(() => ShowX264AdvancedOptions);
+ }
}
/// <summary>
|