]> granicus.if.org Git - handbrake/commitdiff
WinGui: Make sure the Container is selected before the Audio/Subtitle tabs to avoid...
authorsr55 <sr55.hb@outlook.com>
Thu, 26 Jul 2018 19:25:56 +0000 (20:25 +0100)
committersr55 <sr55.hb@outlook.com>
Thu, 26 Jul 2018 19:25:56 +0000 (20:25 +0100)
win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs

index e1bf5f50d3148601778787f53194681c238f7185..47a34e4e810c11b8686ae8fcfa577f57311287ff 100644 (file)
@@ -2207,6 +2207,7 @@ namespace HandBrakeWPF.ViewModels
                     // Tab Settings\r
                     this.isSettingPreset = true;\r
                     this.IsModifiedPreset = false;\r
+                    this.SummaryViewModel.SetPreset(this.selectedPreset, this.CurrentTask);\r
                     this.PictureSettingsViewModel.SetPreset(this.selectedPreset, this.CurrentTask);\r
                     this.VideoViewModel.SetPreset(this.selectedPreset, this.CurrentTask);\r
                     this.FiltersViewModel.SetPreset(this.selectedPreset, this.CurrentTask);\r
@@ -2215,7 +2216,6 @@ namespace HandBrakeWPF.ViewModels
                     this.ChaptersViewModel.SetPreset(this.selectedPreset, this.CurrentTask);\r
                     this.AdvancedViewModel.SetPreset(this.selectedPreset, this.CurrentTask);\r
                     this.MetaDataViewModel.SetPreset(this.selectedPreset, this.CurrentTask);\r
-                    this.SummaryViewModel.SetPreset(this.selectedPreset, this.CurrentTask);\r
                     this.isSettingPreset = false;\r
                 }\r
             }\r