From 115b89047606f6bc68c2610692d5a960cb204c6b Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 15 Oct 2010 05:31:34 +0000 Subject: [PATCH] additional fix to IPAL 22046 TC5.1.5: Modify the Location - impossible to select the same Path object after Apply --- src/TransformationGUI/TransformationGUI_MirrorDlg.cxx | 1 + src/TransformationGUI/TransformationGUI_PositionDlg.cxx | 1 + src/TransformationGUI/TransformationGUI_RotationDlg.cxx | 1 + src/TransformationGUI/TransformationGUI_ScaleDlg.cxx | 1 + src/TransformationGUI/TransformationGUI_TranslationDlg.cxx | 1 + 5 files changed, 5 insertions(+) diff --git a/src/TransformationGUI/TransformationGUI_MirrorDlg.cxx b/src/TransformationGUI/TransformationGUI_MirrorDlg.cxx index 1b8810cbd..18c96f017 100644 --- a/src/TransformationGUI/TransformationGUI_MirrorDlg.cxx +++ b/src/TransformationGUI/TransformationGUI_MirrorDlg.cxx @@ -201,6 +201,7 @@ bool TransformationGUI_MirrorDlg::ClickOnApply() myObjects.length(0); myEditCurrentArgument = GroupPoints->LineEdit1; myEditCurrentArgument->setText(""); + myGeomGUI->getApp()->selectionMgr()->clearSelected(); // activate selection and connect selection manager ConstructorsClicked(getConstructorId()); diff --git a/src/TransformationGUI/TransformationGUI_PositionDlg.cxx b/src/TransformationGUI/TransformationGUI_PositionDlg.cxx index 13ef19d78..e77d44e0c 100644 --- a/src/TransformationGUI/TransformationGUI_PositionDlg.cxx +++ b/src/TransformationGUI/TransformationGUI_PositionDlg.cxx @@ -304,6 +304,7 @@ bool TransformationGUI_PositionDlg::ClickOnApply() myObjects.length(0); myEditCurrentArgument = Group1->LineEdit1; myEditCurrentArgument->setText(""); + myGeomGUI->getApp()->selectionMgr()->clearSelected(); // activate selection and connect selection manager ConstructorsClicked(getConstructorId()); diff --git a/src/TransformationGUI/TransformationGUI_RotationDlg.cxx b/src/TransformationGUI/TransformationGUI_RotationDlg.cxx index e33e32d51..c999df5a2 100644 --- a/src/TransformationGUI/TransformationGUI_RotationDlg.cxx +++ b/src/TransformationGUI/TransformationGUI_RotationDlg.cxx @@ -240,6 +240,7 @@ bool TransformationGUI_RotationDlg::ClickOnApply() myObjects.length(0); myEditCurrentArgument = GroupPoints->LineEdit1; myEditCurrentArgument->setText(""); + myGeomGUI->getApp()->selectionMgr()->clearSelected(); // activate selection and connect selection manager ConstructorsClicked(getConstructorId()); diff --git a/src/TransformationGUI/TransformationGUI_ScaleDlg.cxx b/src/TransformationGUI/TransformationGUI_ScaleDlg.cxx index d8f4d08b2..17023381f 100644 --- a/src/TransformationGUI/TransformationGUI_ScaleDlg.cxx +++ b/src/TransformationGUI/TransformationGUI_ScaleDlg.cxx @@ -265,6 +265,7 @@ bool TransformationGUI_ScaleDlg::ClickOnApply() myObjects.length(0); myEditCurrentArgument = LineEdit1; myEditCurrentArgument->setText(""); + myGeomGUI->getApp()->selectionMgr()->clearSelected(); // activate selection and connect selection manager ConstructorsClicked(getConstructorId()); diff --git a/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx b/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx index 96f373177..292af61f6 100644 --- a/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx +++ b/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx @@ -287,6 +287,7 @@ bool TransformationGUI_TranslationDlg::ClickOnApply() myObjects.length(0); myEditCurrentArgument = GroupPoints->LineEdit1; myEditCurrentArgument->setText(""); + myGeomGUI->getApp()->selectionMgr()->clearSelected(); // activate selection and connect selection manager ConstructorsClicked(getConstructorId()); -- 2.39.2