diff options
author | sr55 <[email protected]> | 2012-06-03 21:02:54 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-06-03 21:02:54 +0000 |
commit | 405e3063a73d59b041871ec20400be58412c1ce9 (patch) | |
tree | 6455e9e970f9c71a7d78be94e5003a042c1b318d /win/CS/HandBrake.ApplicationServices | |
parent | 455407f09c31dcfd9785a15b82f86cb8b322726f (diff) |
WinGui: Fix chapter csv file import. Names were not displaying on the chapter list grid.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4711 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/Encoding/ChapterMarker.cs | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/ChapterMarker.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/ChapterMarker.cs index 88f99008c..0e0eb4b12 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/ChapterMarker.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/ChapterMarker.cs @@ -5,12 +5,19 @@ namespace HandBrake.ApplicationServices.Model.Encoding
{
+ using Caliburn.Micro;
+
/// <summary>
/// A Movie Chapter
/// </summary>
- public class ChapterMarker
+ public class ChapterMarker : PropertyChangedBase
{
/// <summary>
+ /// Backing field for chapter name
+ /// </summary>
+ private string chapterName;
+
+ /// <summary>
/// Initializes a new instance of the <see cref="ChapterMarker"/> class.
/// </summary>
public ChapterMarker()
@@ -53,6 +60,17 @@ namespace HandBrake.ApplicationServices.Model.Encoding /// <summary>
/// Gets or sets ChapterName.
/// </summary>
- public string ChapterName { get; set; }
+ public string ChapterName
+ {
+ get
+ {
+ return this.chapterName;
+ }
+ set
+ {
+ this.chapterName = value;
+ this.NotifyOfPropertyChange(() => this.ChapterName);
+ }
+ }
}
}
|