From 11019a1dc26017012d687184623bbae1dbe41ddc Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 19 May 2011 11:44:58 +0000 Subject: [PATCH] IPAL22481 - TC6.3.0: SIGSEGV calling copy-paste of objects Fix bug with observers - paste operation was not handled --- src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx index b809a9c9d..b374fb936 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx @@ -1125,6 +1125,8 @@ DF_Label SALOMEDSImpl_StudyManager::PasteLabel(SALOMEDSImpl_Study* theDestinatio aTargetLabel = aTargetLabel.FindChild(aSourceLabel.Tag()); aAuxSourceLabel = aAuxSourceLabel.FindChild(aSourceLabel.Tag()); } + SALOMEDSImpl_SObject so = theDestinationStudy->GetSObject(aTargetLabel); + theDestinationStudy->addSO_Notification(so); } // check auxiliary label for TMPFile => IOR -- 2.39.2