]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
status.22x
[lyx.git] / src / Cursor.cpp
index 26aeabf1d5dc45a399f0d1ce68fad6ec6fbe7184..8cc62634a9a04912ed1d51069e371ec878ffffad 100644 (file)
@@ -2432,6 +2432,12 @@ void Cursor::checkBufferStructure()
                // In case the master has no gui associated with it,
                // the TocItem is not updated (part of bug 5699).
                buffer()->tocBackend().updateItem(*this);
+
+       // If the last tracked change of the paragraph has just been
+       // deleted, then we need to recompute the buffer flag
+       // tracked_changes_present_.
+       if (inTexted() && paragraph().isChangeUpdateRequired())
+               disp_.forceChangesUpdate();
 }