From: Bo Peng Date: Wed, 12 Mar 2008 21:29:37 +0000 (+0000) Subject: Embedding: markDirty should not be called in EmbeddedFiles::enable(), which is handle... X-Git-Tag: 1.6.10~5671 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a3c4711b08c129b98a24293b3f57e55f6a093353;p=features.git 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 --- diff --git a/src/EmbeddedFiles.cpp b/src/EmbeddedFiles.cpp index df3ed8513d..b9f3c2a111 100644 --- a/src/EmbeddedFiles.cpp +++ b/src/EmbeddedFiles.cpp @@ -405,7 +405,6 @@ void EmbeddedFileList::enable(bool flag, Buffer & buffer, bool updateFile) ++count_external; } // if operation is successful (no exception is thrown) - buffer.markDirty(); buffer.params().embedded = flag; // if the operation is successful, update insets