commit 9c0281126e5b819a6c10afa1bb585b76cdc4dca2
Author: Guillaume Munch <g...@lyx.org>
Date:   Tue Oct 18 01:06:03 2016 +0200

    Change tracking cue for InsetCaption
---
 src/insets/InsetCaption.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/insets/InsetCaption.h b/src/insets/InsetCaption.h
index 1d8775e..461d9ce 100644
--- a/src/insets/InsetCaption.h
+++ b/src/insets/InsetCaption.h
@@ -56,6 +56,8 @@ private:
        void drawBackground(PainterInfo & pi, int x, int y) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
+       /// Strike out the inset when deleted.
+       bool canPaintChange(BufferView const &) const { return true; }
        ///
        void edit(Cursor & cur, bool front, EntryDirection entry_from);
        ///

Reply via email to