mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
* GuiDocument.cpp:
- minor UI fixes wrt XeTeX. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29137 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
831724578c
commit
5fd1f2211c
@ -1165,6 +1165,10 @@ void GuiDocument::xetexChanged(bool xetex)
|
||||
!langModule->defaultencodingRB->isChecked());
|
||||
langModule->defaultencodingRB->setEnabled(!xetex);
|
||||
langModule->otherencodingRB->setEnabled(!xetex);
|
||||
|
||||
fontModule->fontsDefaultCO->setEnabled(!xetex);
|
||||
if (xetex)
|
||||
fontModule->fontScCB->setEnabled(false);
|
||||
}
|
||||
|
||||
|
||||
@ -1839,6 +1843,9 @@ void GuiDocument::applyView()
|
||||
|
||||
bp_.fontsOSF = fontModule->fontOsfCB->isChecked();
|
||||
|
||||
if (xetex)
|
||||
bp_.fontsDefaultFamily = "default";
|
||||
else
|
||||
bp_.fontsDefaultFamily = GuiDocument::fontfamilies[
|
||||
fontModule->fontsDefaultCO->currentIndex()];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user