From: vsr Date: Thu, 19 May 2011 11:44:58 +0000 (+0000) Subject: IPAL22481 - TC6.3.0: SIGSEGV calling copy-paste of objects X-Git-Tag: V6_3_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=11019a1dc26017012d687184623bbae1dbe41ddc;p=modules%2Fkernel.git IPAL22481 - TC6.3.0: SIGSEGV calling copy-paste of objects Fix bug with observers - paste operation was not handled --- 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