X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCutAndPaste.cpp;h=ecb4cbcafbaddca26dd6d71779a35775eea70975;hb=4df7d8ab1ae443119057562fb76c2e438c053eef;hp=5dd1a55285c3f5a74eb3bf7cdd083110bb590f0e;hpb=0cb87c6bc4f842d18a56d93bb3fc7199a85eef70;p=lyx.git diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 5dd1a55285..ecb4cbcafb 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -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); }