Salome HOME
Suppress mixing states of 'Free Edges' and 'Free Borders' controls in popup.
authorjfa <jfa@opencascade.com>
Thu, 23 Mar 2006 08:34:50 +0000 (08:34 +0000)
committerjfa <jfa@opencascade.com>
Thu, 23 Mar 2006 08:34:50 +0000 (08:34 +0000)
src/SMESHGUI/SMESHGUI.cxx

index b8d0b6bd8ad00bfc1a44014d2e1f5428e3e51782..d8a9c1cd620428a2b259eb6e60b12b66b0c65c2a 100644 (file)
@@ -2741,7 +2741,7 @@ void SMESHGUI::initialize( CAM_Application* app )
 
   popupMgr()->insert( action( 6003 ), anId, -1 ); // FREE_BORDER
   popupMgr()->setRule( action( 6003 ), aMeshInVtkHasEdges, true );
-  popupMgr()->setRule( action( 6003 ), "controlMode = 'eFreeEdges'", false );
+  popupMgr()->setRule( action( 6003 ), "controlMode = 'eFreeBorders'", false );
 
   popupMgr()->insert( action( 6001 ), anId, -1 ); // LENGTH
   popupMgr()->setRule( action( 6001 ), aMeshInVtkHasEdges, true );
@@ -2755,7 +2755,7 @@ void SMESHGUI::initialize( CAM_Application* app )
 
   popupMgr()->insert( action( 6002 ), anId, -1 ); // FREE_EDGE
   popupMgr()->setRule( action( 6002 ), aMeshInVtkHasFaces, true );
-  popupMgr()->setRule( action( 6002 ), "controlMode = 'eFreeBorders'", false );
+  popupMgr()->setRule( action( 6002 ), "controlMode = 'eFreeEdges'", false );
 
   popupMgr()->insert( action( 6018 ), anId, -1 ); // LENGTH_2D
   popupMgr()->setRule( action( 6018 ), aMeshInVtkHasFaces, true );