Commit 08e77cdd authored by Jan Möbius's avatar Jan Möbius

Emit some signals when doing the copy

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5842 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c37c44a7
......@@ -214,8 +214,15 @@ void Core::slotCopyObject( int _oldId , int& _newId ) {
else
std::cerr << "Unable to add copy to object list" << std::endl;
// return the new id
_newId = copy->id();
// tell plugins that a new object has been created
slotEmptyObjectAdded(_newId);
// tell plugins that the object has been updated
slotObjectUpdated(_newId);
}
/// Slot for loading a given file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment