diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs index b4d8d65ab..515b25eb9 100644 --- a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs @@ -190,9 +190,12 @@ namespace HandBrakeWPF.ViewModels {
foreach (SubtitleTrack track in this.Task.SubtitleTracks)
{
+ if (track == subtitle)
+ {
+ continue; // Skip the track the user selected.
+ }
track.Default = false;
}
- subtitle.Default = true;
this.NotifyOfPropertyChange(() => this.Task);
}
@@ -207,9 +210,12 @@ namespace HandBrakeWPF.ViewModels {
foreach (SubtitleTrack track in this.Task.SubtitleTracks)
{
+ if (track == subtitle)
+ {
+ continue; // Skip the track the user selected.
+ }
track.Burned = false;
}
- subtitle.Burned = true;
this.NotifyOfPropertyChange(() => this.Task);
}
|