* 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:
Jürgen Spitzmüller 2010-12-11 15:28:02 +00:00
parent 51aa20b3ed
commit 53250a1269

View File

@ -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 {