]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
Fix mis-nomer
[lyx.git] / src / insets / InsetNote.cpp
index a2916fd921fa0fae9220273411fe0a33ac5a3e4e..d5e7fb324c5fc720bf6ae681c0740b115fab8059 100644 (file)
@@ -328,15 +328,15 @@ void InsetNote::validate(LaTeXFeatures & features) const
 {
        switch (params_.type) {
        case InsetNoteParams::Comment:
-               features.require("verbatim");
                if (features.runparams().flavor == OutputParams::HTML)
                        // we do output this but set display to "none" by default,
                        // but people might want to use it.
                        InsetCollapsable::validate(features);
+               else
+                       // Only do the requires
+                       features.useInsetLayout(getLayout());
                break;
        case InsetNoteParams::Greyedout:
-               features.require("color");
-               features.require("lyxgreyedout");
                InsetCollapsable::validate(features);
                break;
        case InsetNoteParams::Note: