commit 337e3ff9a6b69818417fa62b39dd44fa5379c0d4
Author: Günter Milde <[email protected]>
Date: Tue Apr 30 09:34:51 2019 +0200
Fix Font selector GUI (font encoding) broken in 27ba6f282dc3.
---
src/frontends/qt4/GuiDocument.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt4/GuiDocument.cpp
b/src/frontends/qt4/GuiDocument.cpp
index 744d025..8cc6801 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);