Salome HOME
Remove obsolete staff; redesign Handle-based and CDL-generated classes
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_DuplicateNodesDlg.cxx
index 368aa77ca6624905b542afd43c2ca2571e31d680..57428add241d7cb5f2e65714425fc341cc34bb3f 100644 (file)
@@ -48,7 +48,6 @@
 
 #include <SVTK_ViewWindow.h>
 #include <SALOME_ListIO.hxx>
-#include <SALOME_ListIteratorOfListIO.hxx>
 
 // Qt includes
 #include <QApplication>
@@ -602,7 +601,8 @@ void SMESHGUI_DuplicateNodesDlg::onSelectionChanged()
         ok = ( aGroupType != SMESH::NODE );
         break;
       case 3:
-        ok = ( aGroupType == SMESH::VOLUME );
+        ok = ( aGroupType == SMESH::VOLUME || 
+              aGroupType == SMESH::FACE );
         break;
       }
     }