]> git.lyx.org Git - features.git/commitdiff
cprotect Note:Greyedout insets
authorScott Kostyshak <skostysh@lyx.org>
Thu, 19 Apr 2018 01:30:16 +0000 (21:30 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 19 Apr 2018 01:34:33 +0000 (21:34 -0400)
This is consistent with what we do for Note:Comment, and fixes
compilation of documents with a Greyedout inset inside a float
caption, which was reported here:

https://www.mail-archive.com/search?l=mid&q=20180418192851.GH6006%40atrey.karlin.mff.cuni.cz

lib/layouts/stdinsets.inc

index bd57c27b6b668f2600e936e3b981e6e9143acd9e..5aca78800623e37067d1b2d2f7a090e8cf1b1a88 100644 (file)
@@ -197,6 +197,7 @@ InsetLayout Note:Greyedout
        HTMLIsBlock           false
        AddToToc              note
        IsTocCaption          true
+       NeedCProtect          true
 End
 
 InsetLayout ERT