From 38598e5ecb7f87990a675761ef5440681772ea32 Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 2 Nov 2005 12:39:41 +0000 Subject: [PATCH] Fix for bug PAL10407 ( Can't select a mesh in the "create group" dialog box if a geom shape is selected ). --- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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);