Mantis issue 0022310: EDF 2512 GEOM: Get tool groups trace with RestorGivenSubShapes

This commit is contained in:
jfa 2013-09-04 14:12:19 +00:00
parent bc9708cd0a
commit 3474e51a9b

View File

@ -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
}
}