Properly disable function

This commit is contained in:
Juergen Spitzmueller 2020-08-27 10:59:15 +02:00
parent 86341d4a7a
commit c5c3323f32
2 changed files with 3 additions and 5 deletions

View File

@ -128,7 +128,7 @@ Menuset
CiteStyles
Separator
Item "Settings...|S" "inset-settings"
Item "Try to Open Citation Content...|O" "inset-edit"
OptItem "Try to Open Citation Content...|O" "inset-edit"
End

View File

@ -193,10 +193,8 @@ bool InsetCitation::openCitationPossible() const
return true;
}
// last resort: is external script available?
if (!lyxrc.citation_search_view.empty())
return true;
return false;
// last resort: is external script activated?
return lyxrc.citation_search;
}
void InsetCitation::openCitation()