]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBibtex.cpp
InsetIndex: Some comments and indentation fixes
[features.git] / src / insets / InsetBibtex.cpp
index 6566c4e521f8fde60b9b2583a96e674c8e0dd9a9..5f6b9676801088109b7bf9adedcdcafee9b8c826 100644 (file)
@@ -983,7 +983,7 @@ int InsetBibtex::plaintext(odocstringstream & os,
        // We could output more information here, e.g., what databases are included
        // and information about options. But I don't necessarily see any reason to
        // do this right now.
-       if (op.for_tooltip || op.for_toc || op.for_search) {
+       if (op.for_tooltip || op.for_toc || op.for_searchAdv != OutputParams::NoSearch) {
                os << '[' << reflabel << ']' << '\n';
                return PLAINTEXT_NEWLINE;
        }