From: mzn Date: Wed, 2 Nov 2005 12:39:41 +0000 (+0000) Subject: Fix for bug PAL10407 ( Can't select a mesh in the "create group" dialog box if a... X-Git-Tag: V2_2_6~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=38598e5ecb7f87990a675761ef5440681772ea32;p=modules%2Fsmesh.git Fix for bug PAL10407 ( Can't select a mesh in the "create group" dialog box if a geom shape is selected ). --- diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 457cfecd3..9e0444d58 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -720,7 +720,10 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged() { myMesh = SMESH::IObjectToInterface(IO); if(myMesh->_is_nil()) - return; + { + busy = false; + return; + } myGroup = SMESH::SMESH_Group::_nil(); myActor = SMESH::FindActorByObject(myMesh); @@ -740,7 +743,10 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged() { SMESH::SMESH_Group_var aGroup = SMESH::IObjectToInterface(IO); if(aGroup->_is_nil()) - return; + { + busy = false; + return; + } busy = false; myCurrentLineEdit = 0; init(aGroup);