]> git.lyx.org Git - features.git/commitdiff
Change tracking cue for InsetCaption
authorGuillaume Munch <gm@lyx.org>
Mon, 17 Oct 2016 23:06:03 +0000 (01:06 +0200)
committerGuillaume Munch <gm@lyx.org>
Mon, 17 Oct 2016 23:06:03 +0000 (01:06 +0200)
src/insets/InsetCaption.h

index 1d8775e8ed39e7544afbacdf2bd6568913ff31f8..461d9ce4f4e0da43ff59c713808f749f352fddd8 100644 (file)
@@ -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);
        ///