]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug PAL10407 ( Can't select a mesh in the "create group" dialog box if a...
authormzn <mzn@opencascade.com>
Wed, 2 Nov 2005 12:39:41 +0000 (12:39 +0000)
committermzn <mzn@opencascade.com>
Wed, 2 Nov 2005 12:39:41 +0000 (12:39 +0000)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index 457cfecd347e9fa7c41c12f3694a9525aa6fb1d3..9e0444d58d9f86767dfdf96f22f1dfc799d8b2e2 100644 (file)
@@ -720,7 +720,10 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
          {
            myMesh = SMESH::IObjectToInterface<SMESH::SMESH_Mesh>(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<SMESH::SMESH_Group>(IO);
            if(aGroup->_is_nil())
-             return;
+             {
+               busy = false;
+               return;
+             }
            busy = false;
            myCurrentLineEdit = 0;
            init(aGroup);