diff options
author | sr55 <[email protected]> | 2011-05-21 19:55:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-05-21 19:55:50 +0000 |
commit | af4123faa1127aa0d9a9a14d86855dd167ef1cd6 (patch) | |
tree | 484f0b69448f22a2cf9a1f7f3b56ca6ebe04b2f2 /win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs | |
parent | fb7bb978eaca70d39b18d555970ee33496e73a8b (diff) |
WinGui: Fix a Serialization issue that was causing the Winforms designer to trip up when loading the main form.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3990 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs index 190bdab86..59f411b85 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs @@ -5,6 +5,9 @@ namespace HandBrake.ApplicationServices.Model.Encoding
{
+ using System;
+ using System.ComponentModel;
+
using HandBrake.ApplicationServices.Parsing;
/// <summary>
@@ -26,6 +29,8 @@ namespace HandBrake.ApplicationServices.Model.Encoding /// <summary>
/// The Scanned Audio Track
/// </summary>
+ [NonSerialized]
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
private Audio scannedTrack;
#endregion
@@ -62,6 +67,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding /// <summary>
/// Gets or sets the Scanned Audio Tracks
/// </summary>
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public Audio ScannedTrack
{
get
|