This probably deserves a comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29718 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-05-17 21:06:31 +00:00
parent 0cb87c6bc4
commit 79688b9d59

View 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);
}