Fix for the IPAL22041 TC5.1.5: "Fillet Construcion" dialog loses current selection:

The method SelectionIntoArgument() must be called once inside ConstructorsClicked(int) in case of the creation of the dialog, i.e. myInitial == true;
This commit is contained in:
rnv 2010-10-08 08:56:45 +00:00
parent 80140e06c4
commit 53ee70f9ba

View File

@ -298,7 +298,6 @@ void OperationGUI_FilletDlg::ConstructorsClicked (int constructorId)
qApp->processEvents();
updateGeometry();
resize(minimumSizeHint());
SelectionIntoArgument();
}
//=================================================================================
@ -398,7 +397,7 @@ void OperationGUI_FilletDlg::SelectionIntoArgument()
}
}
// clear selection
// clear selection of the faces or edges
if (!(myEditCurrentArgument == Group2->LineEdit2 ||
myEditCurrentArgument == Group3->LineEdit2)) {
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);