client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs
changeset 10 12515e11b357
parent 0 249d70e7b32d
child 27 f292db96b050
--- 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;