From: Günter Milde Date: Tue, 30 Apr 2019 07:34:51 +0000 (+0200) Subject: Fix Font selector GUI (font encoding) broken in 27ba6f282dc3. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=549de589eb3083653e8a5caf396ce755eafbdea5;p=features.git Fix Font selector GUI (font encoding) broken in 27ba6f282dc3. --- diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 744d0254c3..8cc6801372 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -4096,7 +4096,7 @@ void GuiDocument::paramsToDialog() if (nn >= 0) fontModule->fontsDefaultCO->setCurrentIndex(nn); - if (bp_.fontenc == "auto-legacy" || bp_.fontenc == "auto-legacy-plain") { + if (bp_.fontenc == "auto" || bp_.fontenc == "default") { fontModule->fontencCO->setCurrentIndex( fontModule->fontencCO->findData(toqstr(bp_.fontenc))); fontModule->fontencLE->setEnabled(false);