]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
PAL14047 : Problem to select merged face with Create group window
authoreap <eap@opencascade.com>
Wed, 16 Apr 2008 12:15:56 +0000 (12:15 +0000)
committereap <eap@opencascade.com>
Wed, 16 Apr 2008 12:15:56 +0000 (12:15 +0000)
+      SUIT_OverrideCursor wc;
       GEOM::GEOM_Object_var aGetInPlaceObj = aShapesOp->GetInPlace(myMainObj, anObj);

src/GroupGUI/GroupGUI_GroupDlg.cxx

index 80aef28557c6c876b70010aefac6e158db0ce795..615743dc8806519cf451fb4530a790a4d16db793 100644 (file)
 
 #include "GroupGUI_GroupDlg.h"
 
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_Desktop.h"
+#include "SUIT_OverrideCursor.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
 #include "SalomeApp_Study.h"
-#include "LightApp_SelectionMgr.h"
 
 #include "GEOMBase.h"
-
 #include "GEOMImpl_Types.hxx"
 
 #include <qlabel.h>
@@ -363,6 +363,7 @@ void GroupGUI_GroupDlg::onGetInPlace()
     GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
   if ( aResult && !anObj->_is_nil() && GEOMBase::IsShape( anObj ) ) {
     if ( !anObj->_is_equivalent(myMainObj) && !anObj->_is_equivalent( myGroup )) {
+      SUIT_OverrideCursor wc;
       myEditCurrentArgument->setText( GEOMBase::GetName( anObj ) );
       GEOM::GEOM_IShapesOperations_var aShapesOp = getGeomEngine()->GetIShapesOperations( getStudyId() );
       GEOM::GEOM_Object_var aGetInPlaceObj = aShapesOp->GetInPlace(myMainObj, anObj);