diff options
author | sr55 <[email protected]> | 2017-06-08 19:36:29 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-06-08 19:36:29 +0100 |
commit | acfa4b8615e56dcd8b7569a1170bd7d6963e83e2 (patch) | |
tree | 115fbf747873ccedee741f6daf12f82857f939cc /win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs | |
parent | 7e769d4a889e065ab74e4c61e8792f2ab973520d (diff) |
WinGui: Fix an issue that prevented the static preview from updating as the user alters the resolution settings. Fixes #715
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs index a28fa889b..97de36a3c 100644 --- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs @@ -123,8 +123,9 @@ namespace HandBrakeWPF.ViewModels /// <summary>
/// Initializes a new instance of the <see cref="HandBrakeWPF.ViewModels.PictureSettingsViewModel"/> class.
/// </summary>
- public PictureSettingsViewModel()
+ public PictureSettingsViewModel(IStaticPreviewViewModel staticPreviewViewModel)
{
+ this.StaticPreviewViewModel = staticPreviewViewModel;
this.sourceResolution = new Size(0, 0);
this.Task = new EncodeTask();
this.Init();
|