Salome HOME
New item (FontItem), allowing to show information about font setting and to select...
[modules/gui.git] / src / SVTK / SVTK_Selector.cxx
index 2434515bf1b09cd3777a944b61204df5c25dd562..96690603ea100e6a8a34cfb2c37dca85171d9967 100644 (file)
@@ -242,7 +242,7 @@ SVTK_SelectorDef
   if(!theIsModeShift)
     aMapIndex.Clear();
   
-  for(int i = 0, iEnd = theIndices.Extent(); i < iEnd; i++)
+  for(int i = 1, iEnd = theIndices.Extent(); i <= iEnd; i++)
     aMapIndex.Add(theIndices(i));
   
   if(aMapIndex.IsEmpty())