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=refs%2Fheads%2FBR_Dev_For_6_3_1;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