diff options
author | sr55 <[email protected]> | 2021-02-04 20:14:32 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-02-04 20:14:32 +0000 |
commit | 8ac490e3e147c84a01d7679c22ba817eba84880f (patch) | |
tree | 7500fa96a36b7522eba0c65eafa00a50098ed0ee /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | |
parent | e4d9f3313c700acf9d8522aa270d96e806304693 (diff) |
WinGui: HandBrake.Interop API change/cleanup. Making the structs internal to avoid them being exposed to API consumers. This affects hb_geometry*, hb_sutitle*, NativeConstants
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 02a9c4d19..f0fc67745 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1105,24 +1105,6 @@ namespace HandBrakeWPF.ViewModels }
}
- if (this.CurrentTask != null && this.CurrentTask.SubtitleTracks != null && this.CurrentTask.SubtitleTracks.Count > 0)
- {
- if ((this.SubtitleViewModel.SubtitleBehaviours == null || this.SubtitleViewModel.SubtitleBehaviours.SelectedBehaviour == SubtitleBehaviourModes.None)
- && !(this.CurrentTask.SubtitleTracks.Count == 1 && this.CurrentTask.SubtitleTracks.First().SubtitleType == SubtitleType.ForeignAudioSearch))
- {
- MessageBoxResult result = this.errorService.ShowMessageBox(
- Resources.Main_AutoAdd_AudioAndSubWarning,
- Resources.Warning,
- MessageBoxButton.YesNo,
- MessageBoxImage.Warning);
-
- if (result == MessageBoxResult.No)
- {
- return;
- }
- }
- }
-
foreach (Title title in this.ScannedSource.Titles)
{
this.SelectedTitle = title;
|