X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCaption.h;h=461d9ce4f4e0da43ff59c713808f749f352fddd8;hb=ed7d3a33abad4e1b5141b2ec626b542d1603782c;hp=1d8775e8ed39e7544afbacdf2bd6568913ff31f8;hpb=d5a5fbb8ee87d4a8ae1c55f9ba72819251bb6fb7;p=lyx.git 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); ///