mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* GuiDocument.cpp (paramsToDialog):
- stupid thinko! (bug 7076). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36828 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
51aa20b3ed
commit
53250a1269
@ -2849,21 +2849,21 @@ void GuiDocument::paramsToDialog()
|
||||
for (int i = 0; i < fontModule->fontsRomanCO->count(); ++i) {
|
||||
if (fontModule->fontsRomanCO->itemText(i) == toqstr(bp_.fonts_roman)) {
|
||||
fontModule->fontsRomanCO->setCurrentIndex(i);
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < fontModule->fontsSansCO->count(); ++i) {
|
||||
if (fontModule->fontsSansCO->itemText(i) == toqstr(bp_.fonts_sans)) {
|
||||
fontModule->fontsSansCO->setCurrentIndex(i);
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < fontModule->fontsTypewriterCO->count(); ++i) {
|
||||
if (fontModule->fontsTypewriterCO->itemText(i) ==
|
||||
toqstr(bp_.fonts_typewriter)) {
|
||||
fontModule->fontsTypewriterCO->setCurrentIndex(i);
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user