Fix bug #7543: Default Output Format in Preferences

does not contain all the possible options.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38828 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Julien Rioux 2011-05-24 01:26:41 +00:00
parent 5cbd9cf8d9
commit b18e8e7a02

View File

@ -1902,7 +1902,9 @@ void PrefFileformats::updateView()
formatsCB->addItem(qt_(cit->prettyname()),
QVariant(form_->formats().getNumber(cit->name())));
if (form_->converters().isReachable("latex", cit->name())
|| form_->converters().isReachable("pdflatex", cit->name()))
|| form_->converters().isReachable("pdflatex", cit->name())
|| form_->converters().isReachable("luatex", cit->name())
|| form_->converters().isReachable("xetex", cit->name()))
defaultFormatCB->addItem(qt_(cit->prettyname()),
QVariant(toqstr(cit->name())));
}