]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBibtex.cpp
Typo
[features.git] / src / insets / InsetBibtex.cpp
index 4e02b628f3fcdf8084e783711fe5b52a5b3169f5..a9c0ff966b51e3c33c8b7803f4757e7ca417da23 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 != OutputParams::NoSearch) {
+       if (op.for_tooltip || op.for_toc || op.find_effective()) {
                os << '[' << reflabel << ']' << '\n';
                return PLAINTEXT_NEWLINE;
        }