Salome HOME
Fix for bug IPAL10431 ( It is impossible create/edit mesh using GUI ).
authormzn <mzn@opencascade.com>
Tue, 1 Nov 2005 13:34:43 +0000 (13:34 +0000)
committermzn <mzn@opencascade.com>
Tue, 1 Nov 2005 13:34:43 +0000 (13:34 +0000)
src/SMESHGUI/SMESHGUI_SelectionOp.cxx

index 6992319..ec170a0 100644 (file)
@@ -403,7 +403,7 @@ void SMESHGUI_SelectionOp::selected( QStringList& names,
   {
     selIndices.Clear();
     selectionMgr()->GetIndexes( anIt.Value(), selIndices );
-    if( selIndices.Extent()==0 )
+    if( selIndices.Extent() > 0 )
     {
       QString id_str = QString( "%1%2%3" ).arg( anIt.Value()->getEntry() ).arg( idChar() ), current_id_str;
       for( int i=1, n=selIndices.Extent(); i<=n; i++ )