From: rnv Date: Fri, 8 Oct 2010 08:56:45 +0000 (+0000) Subject: Fix for the IPAL22041 TC5.1.5: "Fillet Construcion" dialog loses current selection: X-Git-Tag: V5_1_5rc1~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=53ee70f9ba8e0117c6518109785a72d310506750;p=modules%2Fgeom.git 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; --- diff --git a/src/OperationGUI/OperationGUI_FilletDlg.cxx b/src/OperationGUI/OperationGUI_FilletDlg.cxx index 6cd07c94a..85ac40d6e 100644 --- a/src/OperationGUI/OperationGUI_FilletDlg.cxx +++ b/src/OperationGUI/OperationGUI_FilletDlg.cxx @@ -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);