--- 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 @@
/// <summary>
/// PolemicType de l'élément
/// </summary>
- 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;