]> git.lyx.org Git - features.git/commitdiff
Amend d96135a9dcc5
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 2 Apr 2022 10:05:18 +0000 (12:05 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 2 Apr 2022 10:05:18 +0000 (12:05 +0200)
src/insets/InsetNote.cpp

index 05253de8553f356f41cc3875051ec37e4ff3001c..d36b0d6a282d3872ccfe36bff475e42a4eedf115 100644 (file)
@@ -207,6 +207,7 @@ bool InsetNote::isMacroScope() const
 void InsetNote::latex(otexstream & os, OutputParams const & runparams_in) const
 {
        if (params_.type != InsetNoteParams::Greyedout
+           && runparams_in.for_searchAdv != OutputParams::NoSearch
            && (runparams_in.for_searchAdv & OutputParams::SearchNonOutput) == 0)
                return;