Fixes the problem reported at
https://marc.info/?l=lyx-users&m=
171986173131406
from_utf8(master_tf));
Alert::warning(_("Different use-non-TeX-fonts settings"), text, true);
}
- else if (tmp->params().inputenc != masterBuffer->params().inputenc) {
+ else if (!tmp->params().useNonTeXFonts // implies both files do not use non-tex fonts
+ && tmp->params().inputenc != masterBuffer->params().inputenc) {
docstring text = bformat(_("Included file `%1$s'\n"
"uses input encoding \"%2$s\" [%3$s]\n"
"while parent file uses input encoding \"%4$s\" [%5$s]."),