]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.cpp
A little cleanup of the layout files.
[lyx.git] / src / CutAndPaste.cpp
index 5dd1a55285c3f5a74eb3bf7cdd083110bb590f0e..ecb4cbcafbaddca26dd6d71779a35775eea70975 100644 (file)
@@ -742,6 +742,9 @@ void copySelectionToStack(Cursor const & cur, CutStack & cutstack)
                copySelectionHelper(*cur.buffer(), pars, par, cur.selEnd().pit(),
                        pos, cur.selEnd().pos(), 
                        cur.buffer()->params().documentClassPtr(), cutstack);
+
+               // Reset the dirty_tabular_stack_ flag only when something
+               // is copied to the clipboard (not to the selectionBuffer).
                if (&cutstack == &theCuts)
                        dirtyTabularStack(false);
        }