From 9c0281126e5b819a6c10afa1bb585b76cdc4dca2 Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Tue, 18 Oct 2016 01:06:03 +0200 Subject: [PATCH] Change tracking cue for InsetCaption --- src/insets/InsetCaption.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/insets/InsetCaption.h b/src/insets/InsetCaption.h index 1d8775e8ed..461d9ce4f4 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); ///