mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
parent
dcde026446
commit
4676a50944
@ -2617,8 +2617,7 @@ void GuiDocument::fontScToggled(bool state)
|
||||
|
||||
void GuiDocument::updateExtraOpts()
|
||||
{
|
||||
QString font;
|
||||
font = fontModule->fontsRomanCO->getData(
|
||||
QString font = fontModule->fontsRomanCO->getData(
|
||||
fontModule->fontsRomanCO->currentIndex());
|
||||
bool const rm_opts = providesExtraOpts(font);
|
||||
font = fontModule->fontsSansCO->getData(
|
||||
@ -2638,8 +2637,7 @@ void GuiDocument::updateExtraOpts()
|
||||
|
||||
void GuiDocument::updateFontOptions()
|
||||
{
|
||||
QString font;
|
||||
font = fontModule->fontsSansCO->getData(
|
||||
QString font = fontModule->fontsSansCO->getData(
|
||||
fontModule->fontsSansCO->currentIndex());
|
||||
bool scalable = providesScale(font);
|
||||
fontModule->scaleSansSB->setEnabled(scalable);
|
||||
@ -4466,6 +4464,8 @@ void GuiDocument::paramsToDialog()
|
||||
sansChanged(fontModule->fontsSansCO->currentIndex());
|
||||
ttChanged(fontModule->fontsTypewriterCO->currentIndex());
|
||||
}
|
||||
// Handle options enabling
|
||||
updateFontOptions();
|
||||
|
||||
if (!bp_.fonts_cjk.empty())
|
||||
fontModule->cjkFontLE->setText(
|
||||
|
Loading…
Reference in New Issue
Block a user