]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix an issue that prevented the static preview from updating as the user...
authorsr55 <sr55.hb@outlook.com>
Thu, 8 Jun 2017 18:36:29 +0000 (19:36 +0100)
committersr55 <sr55.hb@outlook.com>
Thu, 8 Jun 2017 18:36:29 +0000 (19:36 +0100)
win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs

index a28fa889b216bdaf7a922315fee852167c82244c..97de36a3ccfb18a6cc7e7db3527218265e5fea9e 100644 (file)
@@ -123,8 +123,9 @@ namespace HandBrakeWPF.ViewModels
         /// <summary>\r
         /// Initializes a new instance of the <see cref="HandBrakeWPF.ViewModels.PictureSettingsViewModel"/> class.\r
         /// </summary>\r
-        public PictureSettingsViewModel()\r
+        public PictureSettingsViewModel(IStaticPreviewViewModel staticPreviewViewModel)\r
         {\r
+            this.StaticPreviewViewModel = staticPreviewViewModel;\r
             this.sourceResolution = new Size(0, 0);\r
             this.Task = new EncodeTask();\r
             this.Init();\r