[LyX/master] Amend d96135a9dcc5

Juergen Spitzmueller spitz at lyx.org
Sat Apr 2 09:29:34 UTC 2022


commit 0ab862f9425fe8f4fe9f831c8347df56e1d9fc06
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sat Apr 2 12:05:18 2022 +0200

    Amend d96135a9dcc5
---
 src/insets/InsetNote.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/insets/InsetNote.cpp b/src/insets/InsetNote.cpp
index 05253de..d36b0d6 100644
--- a/src/insets/InsetNote.cpp
+++ b/src/insets/InsetNote.cpp
@@ -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;
 


More information about the lyx-cvs mailing list