mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix Font selector GUI (font encoding) broken in 27ba6f282d
.
This commit is contained in:
parent
74b1b9d86f
commit
337e3ff9a6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user