]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Bug IPAL22910: TC650: chamfer on edge gives fatal error
authorouv <ouv@opencascade.com>
Wed, 18 Apr 2012 14:31:20 +0000 (14:31 +0000)
committerouv <ouv@opencascade.com>
Wed, 18 Apr 2012 14:31:20 +0000 (14:31 +0000)
src/OperationGUI/OperationGUI_ChamferDlg.cxx

index d20d286d5de41fb848ff8c4df8231fa31484110e..f2ec700347bd5a42bea770243c316dc9439a8a92 100644 (file)
@@ -489,7 +489,8 @@ void OperationGUI_ChamferDlg::SelectionIntoArgument()
   }
 
   // clear selection
-  if (aCurrFocus != Faces && aCurrFocus != Edges) {
+  if (aCurrFocus != Face1 && aCurrFocus != Face2 &&
+      aCurrFocus != Faces && aCurrFocus != Edges) {
     disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
     myGeomGUI->getApp()->selectionMgr()->clearSelected();
     connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),