]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.cpp
GuiBox.cpp: fix this issue: horizontal box alignment is only possible without inner...
[lyx.git] / src / CutAndPaste.cpp
index 4cc10d59f4dee15e200be9cd59320eb9244c6cc6..07274a39a040158e90637523b7266c351d130a55 100644 (file)
@@ -539,6 +539,8 @@ void copySelectionHelper(Buffer const & buf, Text const & text,
        // deleted, unless the whole selection was deleted
        if (!isFullyDeleted(copy_pars))
                acceptChanges(copy_pars, buf.params());
+       else
+               rejectChanges(copy_pars, buf.params());
 
 
        // do some final cleanup now, to make sure that the paragraphs