diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/Subtitle/SubtitleBehaviours.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/Subtitle/SubtitleBehaviours.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Subtitle/SubtitleBehaviours.cs b/win/CS/HandBrake.ApplicationServices/Model/Subtitle/SubtitleBehaviours.cs index 28f5176d1..c96357c3b 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Subtitle/SubtitleBehaviours.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Subtitle/SubtitleBehaviours.cs @@ -48,6 +48,18 @@ namespace HandBrake.ApplicationServices.Model.Subtitle }
/// <summary>
+ /// Initializes a new instance of the <see cref="SubtitleBehaviours"/> class.
+ /// </summary>
+ /// <param name="behaviours">
+ /// The behaviours.
+ /// </param>
+ public SubtitleBehaviours(SubtitleBehaviours behaviours)
+ {
+ this.SelectedBehaviour = behaviours.selectedBehaviour;
+ this.SelectedLangauges = new BindingList<string>(behaviours.SelectedLangauges);
+ }
+
+ /// <summary>
/// Gets or sets the selected behaviour.
/// </summary>
public SubtitleBehaviourModes SelectedBehaviour
|