]> git.lyx.org Git - lyx.git/blobdiff - src/Compare.cpp
Keep dialog connected to cross-ref inset after Apply.
[lyx.git] / src / Compare.cpp
index 1b46e6827d1674d6b454fb431d2332c6db3122a2..7d90891fa85f94000b5bb7f1dbd4c2d9cfed37ec 100644 (file)
@@ -396,7 +396,7 @@ void Compare::run()
                dest_buffer->params().documentClassPtr();
        // We do not want to share the DocumentClass with the other Buffer.
        // See bug #10295.
-       dest_buffer->params().makeDocumentClass();
+       dest_buffer->params().makeDocumentClass(dest_buffer->isClone(), dest_buffer->isInternal());
 
        doStatusMessage();
        // Do the real work