mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
Decouple lyxrc-default_language from useLanguagePackage()
This commit is contained in:
parent
166deba79b
commit
6d2ed04800
@ -317,7 +317,7 @@ LaTeXFeatures::LangPackage LaTeXFeatures::langPackage() const
|
||||
&& !params_.documentClass().provides("babel")
|
||||
&& this->hasOnlyPolyglossiaLanguages();
|
||||
bool const babel_required =
|
||||
(bufferParams().language->lang() != lyxrc.default_language
|
||||
(bufferParams().language->lang() != "english"
|
||||
&& !bufferParams().language->babel().empty())
|
||||
|| !this->getBabelLanguages().empty();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user