Remove obsolete formats from file dialog

It is confusing for the users to see the formats 1.3--1.6 in the file-open
dialog and not the 2.0 format. The exotic extensions were only used when
e.g., LyX 1.6.x exported to LyX 1.5.x format.
This commit is contained in:
Richard Heck 2014-04-01 21:53:37 +02:00 committed by Vincent van Ravesteijn
parent 3fb7394db8
commit 130c375174

View File

@ -1951,11 +1951,7 @@ void GuiView::openDocument(string const & fname)
dlg.setButton2(qt_("Examples|#E#e"),
toqstr(addPath(package().system_support().absFileName(), "examples")));
QStringList filter(qt_("LyX Documents (*.lyx)"));
filter << qt_("LyX-1.3.x Documents (*.lyx13)")
<< qt_("LyX-1.4.x Documents (*.lyx14)")
<< qt_("LyX-1.5.x Documents (*.lyx15)")
<< qt_("LyX-1.6.x Documents (*.lyx16)");
QStringList const filter(qt_("LyX Documents (*.lyx)"));
FileDialog::Result result =
dlg.open(toqstr(initpath), filter);