Embedding: markDirty should not be called in EmbeddedFiles::enable(), which is handled in BufferView

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23693 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2008-03-12 21:29:37 +00:00
parent efe96e2ff9
commit a3c4711b08

View File

@ -405,7 +405,6 @@ void EmbeddedFileList::enable(bool flag, Buffer & buffer, bool updateFile)
++count_external; ++count_external;
} }
// if operation is successful (no exception is thrown) // if operation is successful (no exception is thrown)
buffer.markDirty();
buffer.params().embedded = flag; buffer.params().embedded = flag;
// if the operation is successful, update insets // if the operation is successful, update insets