Bug IPAL22910: TC650: chamfer on edge gives fatal error

This commit is contained in:
ouv 2012-04-18 14:31:20 +00:00
parent 355d3656bb
commit fd244b2bd2

View File

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