diff -r 185e3ab53a56 -r 12515e11b357 client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs --- a/client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs Mon Nov 23 14:52:34 2009 +0100 +++ b/client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs Mon Nov 23 17:05:00 2009 +0100 @@ -188,7 +188,7 @@ /// /// PolemicType de l'élément /// - public PolemicElementType Type + public object Type { get { @@ -196,6 +196,10 @@ { return ((Annotation)_element).Type; } + else if(_element is SegmentIndex) + { + return ((SegmentIndex)_element).Chapter.Type; + } else { return PolemicElementType.Basic;