Fix for bug IPAL10431 ( It is impossible create/edit mesh using GUI ).

This commit is contained in:
mzn 2005-11-01 13:34:43 +00:00
parent 902a6da0b2
commit 936be4abe3

View 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++ )