diff -r 20f5eaae8425 -r 110669124caf file.cpp --- a/file.cpp Tue Mar 19 18:25:08 2013 +0200 +++ b/file.cpp Tue Mar 19 21:52:38 2013 +0200 @@ -391,6 +391,11 @@ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ============================================================================= void OpenFile::addObject (LDObject* obj) { + if (this != g_CurrentFile) { + objects.insert (objects.end (), obj); + return; + } + const ulong ulSpot = g_qWindow->getInsertionPoint (); objects.insert (objects.begin() + ulSpot, obj); } \ No newline at end of file