]> git.lyx.org Git - features.git/commit
When the clipboard contains a tabular selection, dirty_tabular_stack_ is true. Howeve...
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 17 May 2009 21:02:07 +0000 (21:02 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 17 May 2009 21:02:07 +0000 (21:02 +0000)
commit0cb87c6bc4f842d18a56d93bb3fc7199a85eef70
tree2fab41053adfe60dcec9bbf6b9f9ef1a28e7f1fe
parent7ff63794451889cf532080cb98174fefc649ba95
When the clipboard contains a tabular selection, dirty_tabular_stack_ is true. However, it is set to false when the user clears a selection (without copying). After this (mostly accidental) action, pasting the tabular contents goes wrong.

So, we only clear the dirty_tabular_stack_ flag when a 'real' copy to clipboard has been made.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29717 a592a061-630c-0410-9148-cb99ea01b6c8
src/CutAndPaste.cpp