Take out inheritFont() condition

This commit is contained in:
Juergen Spitzmueller 2020-08-16 11:18:49 +02:00
parent 92f6e4806e
commit 812ff7de75

View File

@ -1033,7 +1033,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
close = true;
}
if (open_font && (!inset->inheritFont() || fontswitch_inset)) {
if (open_font && fontswitch_inset) {
bool lang_closed = false;
// Close language if needed
if (closeLanguage) {