From 936be4abe38ad2de248be17fbdcb67045289c985 Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 1 Nov 2005 13:34:43 +0000 Subject: [PATCH] Fix for bug IPAL10431 ( It is impossible create/edit mesh using GUI ). --- src/SMESHGUI/SMESHGUI_SelectionOp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ ) -- 2.30.2