From 3474e51a9b65a5d7b8e1c9f498696934a9c6d03c Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 4 Sep 2013 14:12:19 +0000 Subject: [PATCH] Mantis issue 0022310: EDF 2512 GEOM: Get tool groups trace with RestorGivenSubShapes --- src/OperationGUI/OperationGUI_PartitionDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OperationGUI/OperationGUI_PartitionDlg.cxx b/src/OperationGUI/OperationGUI_PartitionDlg.cxx index 6907e1d52..b51d7b488 100644 --- a/src/OperationGUI/OperationGUI_PartitionDlg.cxx +++ b/src/OperationGUI/OperationGUI_PartitionDlg.cxx @@ -498,7 +498,7 @@ void OperationGUI_PartitionDlg::restoreSubShapes( SALOMEDS::Study_ptr theStudy // empty list of arguments means that all arguments should be restored getGeomEngine()->RestoreSubShapesSO( theStudy, theSObject, GEOM::ListOfGO(), /*theFindMethod=*/GEOM::FSM_GetInPlaceByHistory, - /*theInheritFirstArg=*/myListShapes.length() == 1, + /*theInheritFirstArg=*/myListShapes.length() == 1 && myListTools.length() == 0, mainFrame()->CheckBoxAddPrefix->isChecked() ); // ? false } } -- 2.39.2