diff options
author | sr55 <[email protected]> | 2012-09-09 11:09:58 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-09-09 11:09:58 +0000 |
commit | abeb55b61b22ad183f03800f36de28b5814f891d (patch) | |
tree | 28aa5554d834fbbd5fd470d0f405ebdfea92de80 /win/CS/HandBrake.ApplicationServices | |
parent | 9a4cc6f98065d5887faa3e202dc42b71a41a4c4e (diff) |
WinGui: Update a broken Property Changed notification in the AudioTrack model
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4947 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs index 830cea25e..051052e47 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs @@ -159,7 +159,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding set
{
this.bitrate = value;
- this.NotifyOfPropertyChange("Bitrate");
+ this.NotifyOfPropertyChange(() => this.Bitrate);
}
}
@@ -178,7 +178,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding if (!object.Equals(value, this.drc))
{
this.drc = value;
- this.NotifyOfPropertyChange("DRC");
+ this.NotifyOfPropertyChange(() => this.DRC);
}
}
}
@@ -197,9 +197,9 @@ namespace HandBrake.ApplicationServices.Model.Encoding {
this.encoder = value;
this.NotifyOfPropertyChange(() => this.Encoder);
- this.NotifyOfPropertyChange("IsPassthru");
- this.NotifyOfPropertyChange("CanSetBitrate");
- this.NotifyOfPropertyChange("TrackReference");
+ this.NotifyOfPropertyChange(() => this.IsPassthru);
+ this.NotifyOfPropertyChange(() => this.CannotSetBitrate);
+ this.NotifyOfPropertyChange(() => this.TrackReference);
}
}
@@ -218,7 +218,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding if (!object.Equals(value, this.gain))
{
this.gain = value;
- this.NotifyOfPropertyChange("Gain");
+ this.NotifyOfPropertyChange(() => this.Gain);
}
}
}
@@ -236,8 +236,8 @@ namespace HandBrake.ApplicationServices.Model.Encoding set
{
this.mixDown = value;
- this.NotifyOfPropertyChange("MixDown");
- this.NotifyOfPropertyChange("TrackReference");
+ this.NotifyOfPropertyChange(() => this.MixDown);
+ this.NotifyOfPropertyChange(() => this.TrackReference);
}
}
@@ -254,8 +254,8 @@ namespace HandBrake.ApplicationServices.Model.Encoding set
{
this.sampleRate = value;
- this.NotifyOfPropertyChange("SampleRate");
- this.NotifyOfPropertyChange("TrackReference");
+ this.NotifyOfPropertyChange(() => this.SampleRate);
+ this.NotifyOfPropertyChange(() => this.TrackReference);
}
}
@@ -297,8 +297,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding set
{
this.scannedTrack = value;
- this.NotifyOfPropertyChange("ScannedTrack");
- this.NotifyOfPropertyChange("TrackDisplay");
+ this.NotifyOfPropertyChange(() => this.ScannedTrack);
}
}
|