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);