From: mzn Date: Tue, 1 Nov 2005 13:34:43 +0000 (+0000) Subject: Fix for bug IPAL10431 ( It is impossible create/edit mesh using GUI ). X-Git-Tag: V3_1_0a3~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=936be4abe38ad2de248be17fbdcb67045289c985;p=modules%2Fsmesh.git Fix for bug IPAL10431 ( It is impossible create/edit mesh using GUI ). --- diff --git a/src/SMESHGUI/SMESHGUI_SelectionOp.cxx b/src/SMESHGUI/SMESHGUI_SelectionOp.cxx index 699231958..ec170a047 100644 --- a/src/SMESHGUI/SMESHGUI_SelectionOp.cxx +++ b/src/SMESHGUI/SMESHGUI_SelectionOp.cxx @@ -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++ )